/* =========================================================
   JR PHYSIO
   GLOBAL PROFESSIONAL STYLESHEET
   ========================================================= */


/* =========================================================
   1. RESET
   ========================================================= */

   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background-color: #f8fafc;

    color: #1e293b;

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}


img {
    max-width: 100%;
}


a {
    text-decoration: none;
    color: inherit;
}


/* =========================================================
   2. ANNOUNCEMENT BAR
   ========================================================= */

.announcement-bar {
    width: 100%;

    height: 34px;

    overflow: hidden;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            #0f2742,
            #123b5d,
            #0f766e
        );

    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.2px;
}


.announcement-track {
    display: flex;

    align-items: center;

    gap: 70px;

    width: max-content;

    white-space: nowrap;

    animation:
        announcementScroll 28s linear infinite;
}


.announcement-track span {
    display: inline-flex;

    align-items: center;

    gap: 6px;
}


/* Continuous marquee animation */

@keyframes announcementScroll {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* Pause when mouse is over it */

.announcement-bar:hover
.announcement-track {
    animation-play-state: paused;
}


/* =========================================================
   EXPLORE COURSES — PRIMARY NAVIGATION
   ========================================================= */

   .nav-links a.course-link {
    color: #0f766e;
    background: #f0fdfa;
    padding: 8px 13px;
    border-radius: 8px;
}

.nav-links a.course-link:hover {
    background: #ccfbf1;
    transform: translateY(-2px);
}


/* =========================================================
   3. HEADER
   ========================================================= */

.site-header {
    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(255, 255, 255, 0.97);

    border-bottom:
        1px solid #e2e8f0;

    box-shadow:
        0 4px 22px
        rgba(15, 39, 66, 0.08);

    backdrop-filter: blur(12px);
}


/* =========================================================
   4. MAIN NAVIGATION
   ========================================================= */

.main-nav {
    width: 100%;

    max-width: 1250px;

    min-height: 76px;

    margin: 0 auto;

    padding:
        10px 4%;

    display: flex;

    align-items: center;

    gap: 38px;
}


/* =========================================================
   5. LOGO
   ========================================================= */

.brand {
    position: relative;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 4px;

    border-radius: 12px;

    transition:
        transform 0.3s ease,
        filter 0.3s ease,
        box-shadow 0.3s ease;
}


.brand img {
    display: block;

    width: 105px;

    height: auto;

    border-radius: 9px;
}


/* Logo pop effect */

.brand:hover {
    transform:
        translateY(-3px)
        scale(1.04);

    filter:
        brightness(1.03);

    box-shadow:
        0 9px 22px
        rgba(15, 118, 110, 0.18);
}


/* Small glow */

.brand::after {
    content: "";

    position: absolute;

    inset: 0;

    border-radius: 12px;

    border:
        2px solid #14b8a6;

    opacity: 0;

    transform: scale(0.85);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


.brand:hover::after {
    opacity: 0.25;

    transform: scale(1.05);
}


/* =========================================================
   6. NAVIGATION LINKS
   ========================================================= */

.nav-links {
    display: flex;

    align-items: center;

    gap: 28px;
}


.nav-links a {
    position: relative;

    display: inline-flex;

    align-items: center;

    min-height: 44px;

    padding:
        4px 3px;

    color: #334155;

    font-size: 15px;

    font-weight: 600;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


/* Animated line BELOW navigation */

.nav-links a::after {
    content: "";

    position: absolute;

    left: 50%;

    bottom: -2px;

    width: 0;

    height: 3px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            #0f766e,
            #14b8a6
        );

    transform:
        translateX(-50%);

    transition:
        width 0.3s ease;
}


.nav-links a:hover {
    color: #0f766e;

    transform:
        translateY(-2px);
}


.nav-links a:hover::after {
    width: 100%;
}


/* =========================================================
   7. RIGHT SIDE
   ========================================================= */

.nav-right {
    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 14px;
}


/* =========================================================
   8. LOGIN
   ========================================================= */

.login-link {
    min-height: 44px;

    display: flex;

    align-items: center;

    padding:
        0 12px;

    color: #334155;

    font-size: 15px;

    font-weight: 600;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.login-link:hover {
    color: #0f766e;

    transform:
        translateY(-2px);
}


/* =========================================================
   9. GET STARTED BUTTON
   ========================================================= */

.signup-button {
    min-height: 44px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        0 20px;

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            #0f766e,
            #0d9488
        );

    border-radius: 10px;

    box-shadow:
        0 5px 15px
        rgba(15, 118, 110, 0.20);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.signup-button:hover {
    color: #ffffff;

    transform:
        translateY(-3px);

    box-shadow:
        0 10px 24px
        rgba(15, 118, 110, 0.28);
}


/* =========================================================
   10. USER MENU
   ========================================================= */

.user-menu {
    position: relative;
}


/* =========================================================
   11. USER BUTTON
   ========================================================= */

.user-menu summary {
    min-height: 46px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding:
        0 12px;

    cursor: pointer;

    list-style: none;

    color: #1e293b;

    font-size: 15px;

    font-weight: 600;

    border:
        1px solid transparent;

    border-radius: 10px;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}


.user-menu summary::-webkit-details-marker {
    display: none;
}


.user-menu summary:hover {
    background-color: #f0fdfa;

    border-color: #ccfbf1;

    color: #0f766e;
}


/* =========================================================
   12. USER ICON
   ========================================================= */

.user-icon {
    width: 32px;

    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #e6fffa,
            #ccfbf1
        );

    border-radius: 50%;

    font-size: 15px;

    transition:
        transform 0.25s ease;
}


.user-menu summary:hover
.user-icon {
    transform:
        scale(1.08)
        rotate(-3deg);
}


/* =========================================================
   13. DROPDOWN ARROW
   ========================================================= */

.dropdown-arrow {
    font-size: 18px;

    line-height: 1;

    transition:
        transform 0.3s ease;
}


.user-menu[open]
.dropdown-arrow {
    transform:
        rotate(180deg);
}


/* =========================================================
   14. DROPDOWN MENU
   ========================================================= */

.dropdown-menu {
    position: absolute;

    top:
        calc(100% + 12px);

    right: 0;

    width: 235px;

    padding: 9px;

    background:
        rgba(255, 255, 255, 0.98);

    border:
        1px solid #e2e8f0;

    border-radius: 15px;

    box-shadow:
        0 18px 45px
        rgba(15, 23, 42, 0.15);

    transform-origin:
        top right;

    animation:
        dropdownOpen 0.25s ease forwards;
}


/* =========================================================
   15. DROPDOWN OPEN ANIMATION
   ========================================================= */

@keyframes dropdownOpen {

    from {
        opacity: 0;

        transform:
            translateY(-10px)
            scale(0.95);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}


/* =========================================================
   16. DROPDOWN ITEMS
   ========================================================= */

.dropdown-menu a {
    position: relative;

    min-height: 45px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding:
        9px 12px;

    color: #334155;

    font-size: 14px;

    font-weight: 500;

    border-radius: 9px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


/* NO UNDERLINE */

.dropdown-menu a::after {
    display: none;
}


.dropdown-menu a:hover {
    background-color: #f0fdfa;

    color: #0f766e;

    transform:
        translateX(4px);
}


.dropdown-menu a span:first-child {
    width: 25px;

    text-align: center;

    font-size: 16px;
}


/* =========================================================
   17. DROPDOWN DIVIDER
   ========================================================= */

.dropdown-divider {
    height: 1px;

    margin:
        7px 4px;

    background-color: #e2e8f0;
}


/* =========================================================
   18. LOGOUT
   ========================================================= */

.dropdown-menu
.logout-link {
    color: #dc2626;

    font-weight: 600;
}


.dropdown-menu
.logout-link:hover {
    background-color: #fef2f2;

    color: #b91c1c;

    transform:
        translateX(4px);
}


/* =========================================================
   19. MAIN CONTENT
   ========================================================= */

main {
    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    padding:
        55px 5%;
}


/* =========================================================
   20. GENERAL TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4 {
    color: #0f172a;

    line-height: 1.25;
}


h1 {
    font-size: 42px;
}


h2 {
    font-size: 30px;
}


h3 {
    font-size: 21px;
}


p {
    color: #475569;

    margin-bottom: 15px;
}


/* =========================================================
   21. FOOTER
   ========================================================= */

footer {
    margin-top: 60px;

    padding:
        32px 5%;

    text-align: center;

    background:
        #0f2742;

    color: #cbd5e1;
}


footer p {
    margin: 0;

    color: #cbd5e1;

    font-size: 14px;
}


/* =========================================================
   22. MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .announcement-bar {
        height: 32px;

        font-size: 11px;
    }


    .announcement-track {
        gap: 45px;

        animation-duration: 22s;
    }


    .main-nav {
        min-height: auto;

        padding:
            10px 5%;

        gap: 12px;

        flex-wrap: wrap;
    }


    .brand img {
        width: 90px;
    }


    .nav-links {
        order: 3;

        width: 100%;

        justify-content: center;

        gap: 18px;

        overflow-x: auto;

        padding-top: 3px;
    }


    .nav-links a {
        font-size: 14px;

        white-space: nowrap;
    }


    .nav-right {
        margin-left: auto;

        gap: 7px;
    }


    .login-link {
        font-size: 14px;

        padding:
            0 7px;
    }


    .signup-button {
        min-height: 42px;

        padding:
            0 14px;

        font-size: 14px;
    }


    .username {
        display: none;
    }


    .user-menu summary {
        padding:
            0 8px;
    }


    .dropdown-menu {
        width: 215px;

        right: 0;
    }


    main {
        padding:
            35px 5%;
    }


    h1 {
        font-size: 32px;
    }


    h2 {
        font-size: 26px;
    }

}


/* =========================================================
   23. REDUCE MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

}



















/* =========================================================
   COURSE LIST PAGE
   ========================================================= */


/* =========================================================
   PAGE HEADER
   ========================================================= */

   .courses-page {
    width: 100%;
}


.courses-header {
    max-width: 750px;

    margin: 0 auto 45px;

    text-align: center;
}


.section-label {
    display: inline-block;

    margin-bottom: 12px;

    padding: 6px 12px;

    color: #0f766e;

    background: #f0fdfa;

    border: 1px solid #ccfbf1;

    border-radius: 20px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;
}


.courses-header h1 {
    margin-bottom: 12px;

    color: #0f2742;

    font-size: 42px;
}


.courses-header p {
    max-width: 600px;

    margin: 0 auto;

    color: #64748b;

    font-size: 17px;
}


/* =========================================================
   COURSE GRID
   ========================================================= */

.course-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;
}


/* =========================================================
   COURSE CARD
   ========================================================= */

.course-card {
    overflow: hidden;

    display: flex;

    flex-direction: column;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    box-shadow:
        0 5px 18px
        rgba(15, 23, 42, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.course-card:hover {
    transform:
        translateY(-7px);

    border-color: #99f6e4;

    box-shadow:
        0 15px 35px
        rgba(15, 23, 42, 0.10);
}


/* =========================================================
   COURSE IMAGE
   ========================================================= */

.course-image {
    width: 100%;

    height: 210px;

    overflow: hidden;

    background: #e2e8f0;
}


.course-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.45s ease;
}


.course-card:hover
.course-image img {
    transform:
        scale(1.05);
}


/* Placeholder */

.course-image-placeholder {
    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #e6fffa,
            #ccfbf1
        );

    color: #0f766e;

    font-size: 48px;
}


/* =========================================================
   COURSE CONTENT
   ========================================================= */

.course-content {
    flex: 1;

    display: flex;

    flex-direction: column;

    padding: 24px;
}


.course-label {
    margin-bottom: 9px;

    color: #0f766e;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.8px;
}


.course-content h2 {
    margin-bottom: 12px;

    color: #0f2742;

    font-size: 21px;

    line-height: 1.35;
}


.course-description {
    margin-bottom: 20px;

    color: #64748b;

    font-size: 14px;

    line-height: 1.65;

    display: -webkit-box;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =========================================================
   COURSE INFORMATION
   ========================================================= */

.course-info {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    padding:
        14px 0;

    margin-top: auto;

    margin-bottom: 15px;

    border-top:
        1px solid #f1f5f9;

    border-bottom:
        1px solid #f1f5f9;
}


.course-info span {
    color: #475569;

    font-size: 13px;

    font-weight: 600;
}


.course-info span:last-child {
    color: #0f766e;

    font-size: 16px;

    font-weight: 700;
}


/* =========================================================
   VIEW COURSE BUTTON
   ========================================================= */

.course-button {
    min-height: 46px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding:
        0 18px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #0f766e,
            #0d9488
        );

    border-radius: 9px;

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 5px 14px
        rgba(15, 118, 110, 0.16);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.course-button span {
    font-size: 18px;

    transition:
        transform 0.25s ease;
}


.course-button:hover {
    color: #ffffff;

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 20px
        rgba(15, 118, 110, 0.25);
}


.course-button:hover span {
    transform:
        translateX(4px);
}


/* =========================================================
   NO COURSES
   ========================================================= */

.no-courses {
    grid-column: 1 / -1;

    padding:
        70px 20px;

    text-align: center;

    background: #ffffff;

    border:
        1px solid #e2e8f0;

    border-radius: 16px;
}


.no-courses-icon {
    margin-bottom: 15px;

    font-size: 48px;
}


.no-courses h2 {
    margin-bottom: 8px;

    color: #0f2742;
}


.no-courses p {
    color: #64748b;
}


/* =========================================================
   COURSE LIST RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .course-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 650px) {

    .course-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }


    .courses-header {
        margin-bottom: 30px;
    }


    .courses-header h1 {
        font-size: 32px;
    }


    .courses-header p {
        font-size: 15px;
    }


    .course-image {
        height: 200px;
    }


    .course-content {
        padding: 20px;
    }

}




















/* =========================================================
   COURSE DETAIL PAGE
   ========================================================= */

   .course-detail-page {
    width: 100%;
}


/* =========================================================
   COURSE HERO
   ========================================================= */

.course-detail-hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 45px;
    align-items: center;
    margin-bottom: 65px;
}


/* =========================================================
   COURSE IMAGE
   ========================================================= */

.course-detail-image {
    width: 100%;
    height: 430px;
    overflow: hidden;
    background: #e2e8f0;
    border-radius: 20px;
    box-shadow:
        0 15px 40px
        rgba(15, 23, 42, 0.10);
}

.course-detail-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
        transform 0.5s ease;
}

.course-detail-image:hover img {
    transform: scale(1.03);
}


/* IMAGE PLACEHOLDER */

.course-detail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            #e6fffa,
            #ccfbf1
        );
    color: #0f766e;
    font-size: 70px;
}


/* =========================================================
   COURSE INFORMATION
   ========================================================= */

.course-detail-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.course-detail-info .section-label {
    margin-bottom: 15px;
}

.course-detail-info h1 {
    margin-bottom: 18px;
    color: #0f2742;
    font-size: 44px;
    line-height: 1.2;
}

.course-detail-description {
    margin-bottom: 25px;
    color: #64748b;
    font-size: 17px;
    line-height: 1.75;
}


/* =========================================================
   COURSE META
   ========================================================= */

.course-detail-meta {
    width: 100%;
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.detail-meta-item {
    flex: 1;
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
}

.meta-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0fdfa;
    border-radius: 9px;
    font-size: 18px;
}

.detail-meta-item small {
    display: block;
    margin-bottom: 2px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-meta-item strong {
    color: #334155;
    font-size: 14px;
}


/* =========================================================
   PRICE
   ========================================================= */

.course-price {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 15px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
}

.course-price span {
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.course-price strong {
    color: #0f766e;
    font-size: 28px;
}


/* =========================================================
   ACCESS MESSAGE
   ========================================================= */

.access-message {
    margin-bottom: 20px;
    color: #64748b;
    font-size: 14px;
}


/* =========================================================
   ACCESS STATUS
   ========================================================= */

.access-status {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 11px;
}

.access-status p {
    margin: 2px 0 0;
    font-size: 13px;
}

.access-active {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.access-active .status-icon {
    color: #16a34a;
}

.access-expired {
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.access-expired .status-icon {
    color: #d97706;
}

.status-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    font-weight: 700;
}

.access-status strong {
    color: #334155;
    font-size: 14px;
}


/* =========================================================
   MAIN ACTION BUTTON
   ========================================================= */

.course-detail-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 25px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #0f766e,
            #0d9488
        );
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    box-shadow:
        0 7px 18px
        rgba(15, 118, 110, 0.18);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.course-detail-button:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow:
        0 12px 25px
        rgba(15, 118, 110, 0.26);
}

.course-detail-button span {
    font-size: 19px;
    transition:
        transform 0.25s ease;
}

.course-detail-button:hover span {
    transform: translateX(4px);
}


/* =========================================================
   LESSON SECTION
   ========================================================= */

.lessons-section {
    padding-top: 45px;
    border-top: 1px solid #e2e8f0;
}

.lessons-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.lessons-header .section-label {
    margin-bottom: 8px;
}

.lessons-header h2 {
    color: #0f2742;
    font-size: 30px;
}

.lesson-count {
    padding: 7px 12px;
    color: #0f766e;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   LESSON LIST
   ========================================================= */

.lesson-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}


/* =========================================================
   LESSON CARD
   ========================================================= */

.lesson-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    box-shadow:
        0 4px 14px
        rgba(15, 23, 42, 0.04);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.lesson-card:hover {
    transform: translateY(-3px);
    border-color: #99f6e4;
    box-shadow:
        0 10px 25px
        rgba(15, 23, 42, 0.08);
}


/* LESSON NUMBER */

.lesson-number {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f766e;
    background: #f0fdfa;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
}


/* LESSON CONTENT */

.lesson-content {
    flex: 1;
    min-width: 0;
}

.lesson-content h3 {
    margin-bottom: 5px;
    color: #0f2742;
    font-size: 17px;
}

.lesson-content p {
    margin-bottom: 5px;
    color: #64748b;
    font-size: 13px;
}

.lesson-duration {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
}


/* LESSON BUTTON */

.lesson-button {
    min-height: 42px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 15px;
    color: #0f766e;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.lesson-button:hover {
    color: #0f766e;
    background: #ccfbf1;
    transform: translateY(-2px);
}

.lesson-button span {
    font-size: 17px;
    transition:
        transform 0.2s ease;
}

.lesson-button:hover span {
    transform: translateX(3px);
}


/* =========================================================
   NO LESSONS
   ========================================================= */

.no-lessons {
    padding: 60px 20px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.no-lessons-icon {
    margin-bottom: 12px;
    font-size: 45px;
}

.no-lessons h3 {
    margin-bottom: 7px;
    color: #0f2742;
}

.no-lessons p {
    color: #64748b;
}


/* =========================================================
   COURSE DETAIL — TABLET
   ========================================================= */

@media (max-width: 850px) {

    .course-detail-hero {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .course-detail-image {
        height: 330px;
    }

    .course-detail-info h1 {
        font-size: 36px;
    }

}


/* =========================================================
   COURSE DETAIL — MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .course-detail-image {
        height: 250px;
        border-radius: 15px;
    }

    .course-detail-info h1 {
        font-size: 30px;
    }

    .course-detail-description {
        font-size: 15px;
    }

    .course-detail-meta {
        flex-direction: column;
    }

    .lessons-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .lessons-header h2 {
        font-size: 26px;
    }

    .lesson-card {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 13px;
    }

    .lesson-content {
        width: calc(100% - 58px);
    }

    .lesson-button {
        width: 100%;
    }

}


















/* =========================================================
   REQUEST ACCESS PAGE
   ========================================================= */

   .access-page {
    width: 100%;
}

.access-container {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 55px;
    align-items: center;
    max-width: 1050px;
    margin: 0 auto;
}


/* =========================================================
   LEFT SIDE
   ========================================================= */

.access-info {
    padding: 20px 0;
}

.access-info .section-label {
    margin-bottom: 18px;
}

.access-info h1 {
    max-width: 600px;
    margin-bottom: 18px;
    color: #0f2742;
    font-size: 44px;
    line-height: 1.2;
}

.access-intro {
    max-width: 560px;
    margin-bottom: 30px;
    color: #64748b;
    font-size: 17px;
    line-height: 1.7;
}


/* SELECTED COURSE */

.selected-course {
    max-width: 560px;
    margin-bottom: 28px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #0f766e;
    border-radius: 13px;
    box-shadow:
        0 6px 20px
        rgba(15, 23, 42, 0.05);
}

.selected-course-label {
    display: block;
    margin-bottom: 8px;
    color: #0f766e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.selected-course h2 {
    margin-bottom: 8px;
    color: #0f2742;
    font-size: 21px;
    line-height: 1.35;
}

.selected-course p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}


/* BENEFITS */

.access-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.access-benefit {
    display: flex;
    align-items: center;
    gap: 11px;
}

.access-benefit span {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #16a34a;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
}

.access-benefit p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   FORM CARD
   ========================================================= */

.access-form-card {
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow:
        0 12px 35px
        rgba(15, 23, 42, 0.08);
}


/* FORM HEADER */

.access-form-header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 25px;
}

.form-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    border-radius: 11px;
    font-size: 20px;
}

.access-form-header h2 {
    margin-bottom: 2px;
    color: #0f2742;
    font-size: 23px;
}

.access-form-header p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}


/* =========================================================
   FORM FIELDS
   ========================================================= */

.form-group {
    margin-bottom: 19px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.form-group label span {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 13px;
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.form-group input {
    min-height: 46px;
}

.form-group textarea {
    min-height: 105px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #14b8a6;
    background: #ffffff;
    box-shadow:
        0 0 0 3px
        rgba(20, 184, 166, 0.10);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #94a3b8;
    font-size: 11px;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.access-submit-button {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 5px;
    padding: 0 20px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #0f766e,
            #0d9488
        );
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    box-shadow:
        0 7px 18px
        rgba(15, 118, 110, 0.18);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.access-submit-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 11px 25px
        rgba(15, 118, 110, 0.26);
}

.access-submit-button span {
    font-size: 19px;
    transition:
        transform 0.25s ease;
}

.access-submit-button:hover span {
    transform: translateX(4px);
}


/* =========================================================
   BACK TO COURSE
   ========================================================= */

.back-course-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 19px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.back-course-link:hover {
    color: #0f766e;
    transform: translateX(-2px);
}

.back-course-link span {
    font-size: 16px;
}


/* =========================================================
   REQUEST ACCESS - TABLET
   ========================================================= */

@media (max-width: 850px) {

    .access-container {
        grid-template-columns: 1fr;
        gap: 35px;
        max-width: 650px;
    }

    .access-info {
        text-align: center;
    }

    .access-info h1 {
        margin-right: auto;
        margin-left: auto;
        font-size: 38px;
    }

    .access-intro {
        margin-right: auto;
        margin-left: auto;
    }

    .selected-course {
        margin-right: auto;
        margin-left: auto;
        text-align: left;
    }

    .access-benefits {
        align-items: center;
    }

    .access-benefit {
        width: fit-content;
    }

}


/* =========================================================
   REQUEST ACCESS - MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .access-container {
        gap: 25px;
    }

    .access-info {
        padding: 0;
    }

    .access-info h1 {
        font-size: 31px;
    }

    .access-intro {
        font-size: 15px;
    }

    .selected-course {
        padding: 18px;
    }

    .selected-course h2 {
        font-size: 19px;
    }

    .access-form-card {
        padding: 22px;
        border-radius: 15px;
    }

    .access-form-header h2 {
        font-size: 21px;
    }

    .form-group {
        margin-bottom: 17px;
    }

}


























/* =========================================================
   MY COURSES PAGE
   ========================================================= */

   .my-courses-page {
    width: 100%;
}


/* =========================================================
   PAGE HEADER
   ========================================================= */

.my-courses-header {
    max-width: 720px;
    margin: 0 auto 45px;
    text-align: center;
}

.my-courses-header .section-label {
    margin-bottom: 12px;
}

.my-courses-header h1 {
    margin-bottom: 12px;
    color: #0f2742;
    font-size: 42px;
}

.my-courses-header p {
    max-width: 600px;
    margin: 0 auto;
    color: #64748b;
    font-size: 17px;
}


/* =========================================================
   COURSE GRID
   ========================================================= */

.my-course-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 28px;
}


/* =========================================================
   COURSE CARD
   ========================================================= */

.my-course-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 17px;
    box-shadow:
        0 5px 18px
        rgba(15, 23, 42, 0.05);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.my-course-card:hover {
    transform: translateY(-6px);
    border-color: #99f6e4;
    box-shadow:
        0 15px 35px
        rgba(15, 23, 42, 0.10);
}


/* =========================================================
   COURSE IMAGE
   ========================================================= */

.my-course-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #e2e8f0;
}

.my-course-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
        transform 0.45s ease;
}

.my-course-card:hover
.my-course-image img {
    transform: scale(1.04);
}

.my-course-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            #e6fffa,
            #ccfbf1
        );
    color: #0f766e;
    font-size: 55px;
}


/* =========================================================
   COURSE CONTENT
   ========================================================= */

.my-course-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.my-course-label {
    margin-bottom: 8px;
    color: #0f766e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.my-course-content h2 {
    margin-bottom: 10px;
    color: #0f2742;
    font-size: 21px;
    line-height: 1.35;
}

.my-course-description {
    margin-bottom: 22px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* =========================================================
   PROGRESS
   ========================================================= */

.course-progress-section {
    margin-top: auto;
    margin-bottom: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
}

.progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
}

.progress-header span {
    color: #475569;
    font-size: 13px;
    font-weight: 600;
}

.progress-header strong {
    color: #0f766e;
    font-size: 14px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    overflow: hidden;
    background: #e2e8f0;
    border-radius: 20px;
}

.progress-fill {
    height: 100%;
    width: 0;
    background:
        linear-gradient(
            90deg,
            #0f766e,
            #14b8a6
        );
    border-radius: 20px;
    transition:
        width 0.8s ease;
}

.progress-count {
    margin: 8px 0 0;
    color: #94a3b8;
    font-size: 12px;
}


/* =========================================================
   COURSE EXPIRY
   ========================================================= */

.course-expiry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px 14px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.course-expiry span {
    color: #64748b;
    font-size: 12px;
}

.course-expiry strong {
    color: #334155;
    font-size: 12px;
}


/* =========================================================
   CONTINUE BUTTON
   ========================================================= */

.my-course-button {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #0f766e,
            #0d9488
        );
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    box-shadow:
        0 5px 14px
        rgba(15, 118, 110, 0.16);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.my-course-button:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow:
        0 9px 20px
        rgba(15, 118, 110, 0.25);
}

.my-course-button span {
    font-size: 18px;
    transition:
        transform 0.25s ease;
}

.my-course-button:hover span {
    transform: translateX(4px);
}


/* =========================================================
   EXPIRED COURSE
   ========================================================= */

.course-access-expired {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    margin-bottom: 16px;
    padding: 15px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 11px;
}

.expired-icon {
    width: 37px;
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 50%;
    font-size: 16px;
}

.course-access-expired strong {
    display: block;
    margin-bottom: 2px;
    color: #9a3412;
    font-size: 14px;
}

.course-access-expired p {
    margin: 0;
    color: #c2410c;
    font-size: 12px;
}

.expired-button {
    color: #ffffff;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.my-courses-empty {
    max-width: 650px;
    margin: 0 auto;
    padding: 70px 30px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 17px;
    box-shadow:
        0 5px 18px
        rgba(15, 23, 42, 0.04);
}

.empty-icon {
    margin-bottom: 15px;
    font-size: 52px;
}

.my-courses-empty h2 {
    margin-bottom: 10px;
    color: #0f2742;
    font-size: 27px;
}

.my-courses-empty p {
    max-width: 500px;
    margin: 0 auto 25px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.my-courses-empty .my-course-button {
    width: fit-content;
    margin: 0 auto;
}


/* =========================================================
   MY COURSES - MOBILE
   ========================================================= */

@media (max-width: 750px) {

    .my-course-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .my-courses-header {
        margin-bottom: 30px;
    }

    .my-courses-header h1 {
        font-size: 32px;
    }

    .my-courses-header p {
        font-size: 15px;
    }

    .my-course-image {
        height: 200px;
    }

    .my-course-content {
        padding: 20px;
    }

    .my-course-content h2 {
        font-size: 20px;
    }

    .course-expiry {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .my-courses-empty {
        padding: 55px 20px;
    }

}





















/* =========================================================
   DASHBOARD PAGE
   ========================================================= */

   .dashboard-page {
    width: 100%;
}


/* =========================================================
   DASHBOARD HEADER
   ========================================================= */

.dashboard-header {
    margin-bottom: 35px;
}

.dashboard-header h1 {
    margin-top: 10px;
    margin-bottom: 10px;
    color: #0f2742;
    font-size: 40px;
    line-height: 1.2;
}

.dashboard-header p {
    margin: 0;
    color: #64748b;
    font-size: 16px;
}


/* =========================================================
   STATISTICS
   ========================================================= */

.dashboard-stats {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 55px;
}

.dashboard-stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    box-shadow:
        0 5px 18px
        rgba(15, 23, 42, 0.04);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.dashboard-stat-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 10px 25px
        rgba(15, 23, 42, 0.08);
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    border-radius: 11px;
    font-size: 21px;
}

.dashboard-stat-card span {
    display: block;
    margin-bottom: 3px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

.dashboard-stat-card strong {
    color: #0f2742;
    font-size: 18px;
}


/* =========================================================
   SECTION HEADER
   ========================================================= */

.dashboard-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.dashboard-section-header .section-label {
    margin-bottom: 8px;
}

.dashboard-section-header h2 {
    color: #0f2742;
    font-size: 30px;
}

.dashboard-view-all {
    color: #0f766e;
    font-size: 13px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        color 0.2s ease;
}

.dashboard-view-all:hover {
    color: #0d9488;
    transform: translateX(3px);
}


/* =========================================================
   COURSE GRID
   ========================================================= */

.dashboard-course-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 25px;
    margin-bottom: 55px;
}


/* =========================================================
   COURSE CARD
   ========================================================= */

.dashboard-course-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    box-shadow:
        0 5px 18px
        rgba(15, 23, 42, 0.05);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.dashboard-course-card:hover {
    transform: translateY(-5px);
    border-color: #99f6e4;
    box-shadow:
        0 14px 32px
        rgba(15, 23, 42, 0.09);
}


/* =========================================================
   COURSE IMAGE
   ========================================================= */

.dashboard-course-image {
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #e2e8f0;
}

.dashboard-course-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
        transform 0.45s ease;
}

.dashboard-course-card:hover
.dashboard-course-image img {
    transform: scale(1.04);
}

.dashboard-course-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            #e6fffa,
            #ccfbf1
        );
    font-size: 55px;
}


/* =========================================================
   COURSE CONTENT
   ========================================================= */

.dashboard-course-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 23px;
}

.dashboard-course-label {
    margin-bottom: 8px;
    color: #0f766e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.dashboard-course-content h3 {
    margin-bottom: 20px;
    color: #0f2742;
    font-size: 20px;
    line-height: 1.35;
}


/* =========================================================
   PROGRESS
   ========================================================= */

.dashboard-progress {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.dashboard-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.dashboard-progress-header span {
    color: #475569;
    font-size: 12px;
    font-weight: 600;
}

.dashboard-progress-header strong {
    color: #0f766e;
    font-size: 13px;
}

.dashboard-progress-bar {
    width: 100%;
    height: 8px;
    overflow: hidden;
    background: #e2e8f0;
    border-radius: 20px;
}

.dashboard-progress-fill {
    height: 100%;
    background:
        linear-gradient(
            90deg,
            #0f766e,
            #14b8a6
        );
    border-radius: 20px;
    transition:
        width 0.8s ease;
}

.dashboard-progress p {
    margin: 7px 0 0;
    color: #94a3b8;
    font-size: 11px;
}


/* =========================================================
   EXPIRY
   ========================================================= */

.dashboard-expiry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 17px;
    padding: 11px 13px;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.dashboard-expiry span {
    color: #64748b;
    font-size: 12px;
}

.dashboard-expiry strong {
    color: #334155;
    font-size: 12px;
}


/* =========================================================
   COURSE BUTTON
   ========================================================= */

.dashboard-course-button {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: auto;
    padding: 0 18px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #0f766e,
            #0d9488
        );
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    box-shadow:
        0 5px 14px
        rgba(15, 118, 110, 0.16);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.dashboard-course-button:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow:
        0 9px 20px
        rgba(15, 118, 110, 0.25);
}

.dashboard-course-button span {
    font-size: 18px;
    transition:
        transform 0.25s ease;
}

.dashboard-course-button:hover span {
    transform: translateX(4px);
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.dashboard-empty {
    max-width: 650px;
    margin: 0 auto 55px;
    padding: 70px 30px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow:
        0 5px 18px
        rgba(15, 23, 42, 0.04);
}

.dashboard-empty-icon {
    margin-bottom: 15px;
    font-size: 52px;
}

.dashboard-empty h2 {
    margin-bottom: 10px;
    color: #0f2742;
}

.dashboard-empty p {
    max-width: 500px;
    margin: 0 auto 25px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.dashboard-empty .dashboard-course-button {
    width: fit-content;
    margin: 0 auto;
}


/* =========================================================
   ACCOUNT
   ========================================================= */

.dashboard-account {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    box-shadow:
        0 5px 18px
        rgba(15, 23, 42, 0.04);
}

.dashboard-account-info {
    flex: 1;
}

.dashboard-account-info .section-label {
    margin-bottom: 8px;
}

.dashboard-account-info h2 {
    margin-bottom: 7px;
    color: #0f2742;
    font-size: 24px;
}

.dashboard-account-info p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.dashboard-account-actions {
    display: flex;
    gap: 10px;
}

.dashboard-account-button {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 15px;
    color: #0f766e;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.dashboard-account-button:hover {
    color: #0f766e;
    background: #ccfbf1;
    transform: translateY(-2px);
}


/* =========================================================
   DASHBOARD - TABLET
   ========================================================= */

@media (max-width: 800px) {

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-course-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-account {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* =========================================================
   DASHBOARD - MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .dashboard-header h1 {
        font-size: 31px;
    }

    .dashboard-header p {
        font-size: 15px;
    }

    .dashboard-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .dashboard-section-header h2 {
        font-size: 26px;
    }

    .dashboard-course-image {
        height: 200px;
    }

    .dashboard-course-content {
        padding: 20px;
    }

    .dashboard-account {
        padding: 22px;
    }

    .dashboard-account-actions {
        width: 100%;
        flex-direction: column;
    }

    .dashboard-account-button {
        width: 100%;
    }

}








































/* =========================================================
   LESSON DETAIL PAGE
   ========================================================= */

   .lesson-page {
    width: 100%;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.lesson-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    color: #94a3b8;
    font-size: 13px;
}

.lesson-breadcrumb a {
    color: #0f766e;
    font-weight: 600;
}

.lesson-breadcrumb a:hover {
    color: #0d9488;
}

.lesson-breadcrumb span {
    color: #94a3b8;
}


/* =========================================================
   LESSON HEADER
   ========================================================= */

.lesson-header {
    margin-bottom: 30px;
}

.lesson-header .section-label {
    margin-bottom: 10px;
}

.lesson-header h1 {
    max-width: 850px;
    margin-bottom: 12px;
    color: #0f2742;
    font-size: 38px;
    line-height: 1.25;
}

.lesson-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.lesson-meta span {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   LESSON LAYOUT
   ========================================================= */

.lesson-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}


/* =========================================================
   LESSON MAIN
   ========================================================= */

.lesson-main {
    min-width: 0;
}


/* =========================================================
   VIDEO CARD
   ========================================================= */

.lesson-video-card {
    overflow: hidden;
    margin-bottom: 25px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    box-shadow:
        0 7px 22px
        rgba(15, 23, 42, 0.06);
}

.lesson-video-header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 15px 18px;
    color: #0f2742;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.lesson-video {
    width: 100%;
    background: #000000;
}


/* WATCH VIDEO */

.watch-video-button {
    min-width: 250px;
    min-height: 65px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 25px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #0f766e,
            #0d9488
        );
    border-radius: 11px;
    font-size: 15px;
    font-weight: 700;
    box-shadow:
        0 10px 25px
        rgba(0, 0, 0, 0.20);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.watch-video-button:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow:
        0 15px 30px
        rgba(0, 0, 0, 0.25);
}

.play-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 2px;
    background: #ffffff;
    color: #0f766e;
    border-radius: 50%;
    font-size: 13px;
}

.video-arrow {
    font-size: 18px;
}


/* VIDEO UNAVAILABLE */

.video-unavailable {
    text-align: center;
    color: #ffffff;
}

.video-unavailable > div {
    margin-bottom: 12px;
    font-size: 50px;
}

.video-unavailable h3 {
    margin-bottom: 7px;
    color: #ffffff;
    font-size: 20px;
}

.video-unavailable p {
    margin: 0;
    color: #cbd5e1;
    font-size: 13px;
}


/* =========================================================
   LESSON DESCRIPTION
   ========================================================= */

.lesson-description-card {
    margin-bottom: 25px;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.lesson-description-card .section-label {
    margin-bottom: 9px;
}

.lesson-description-card h2 {
    margin-bottom: 12px;
    color: #0f2742;
    font-size: 24px;
}

.lesson-description-card p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   COMPLETION CARD
   ========================================================= */

.lesson-completion-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.completion-status,
.completion-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.completion-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #16a34a;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 800;
}

.completion-icon.incomplete {
    color: #0f766e;
    background: #f0fdfa;
    border-color: #ccfbf1;
}

.completion-status strong,
.completion-info strong {
    display: block;
    margin-bottom: 2px;
    color: #334155;
    font-size: 14px;
}

.completion-status p,
.completion-info p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
}

.complete-button {
    min-height: 44px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    background: #0f766e;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.complete-button:hover {
    background: #0d9488;
    transform: translateY(-2px);
}


/* =========================================================
   LESSON NAVIGATION
   ========================================================= */

.lesson-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 22px;
}

.lesson-nav-button {
    min-height: 75px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    color: #334155;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.lesson-nav-button:hover {
    color: #334155;
    transform: translateY(-2px);
    border-color: #99f6e4;
    box-shadow:
        0 7px 18px
        rgba(15, 23, 42, 0.06);
}

.lesson-nav-button.next {
    justify-content: flex-end;
    text-align: right;
}

.lesson-nav-button > span {
    color: #0f766e;
    font-size: 22px;
}

.lesson-nav-button small {
    display: block;
    margin-bottom: 3px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.lesson-nav-button strong {
    display: block;
    max-width: 220px;
    color: #334155;
    font-size: 13px;
    line-height: 1.4;
}


/* COURSE COMPLETED */

.course-completed-message {
    grid-column: 1 / -1;
    padding: 22px;
    text-align: center;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
}

.course-completed-message span {
    display: block;
    margin-bottom: 6px;
    font-size: 27px;
}

.course-completed-message strong {
    display: block;
    margin-bottom: 3px;
    color: #166534;
    font-size: 16px;
}

.course-completed-message p {
    margin: 0;
    color: #15803d;
    font-size: 12px;
}


/* BACK TO COURSE */

.back-to-course {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.back-to-course:hover {
    color: #0f766e;
    transform: translateX(-2px);
}


/* =========================================================
   LESSON SIDEBAR
   ========================================================= */

.lesson-sidebar {
    position: sticky;
    top: 105px;
}

.lesson-sidebar-card {
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow:
        0 6px 20px
        rgba(15, 23, 42, 0.05);
}

.lesson-sidebar-card .section-label {
    margin-bottom: 10px;
}

.lesson-sidebar-card h2 {
    color: #0f2742;
    font-size: 19px;
    line-height: 1.4;
}

.sidebar-divider {
    height: 1px;
    margin: 18px 0;
    background: #e2e8f0;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 15px;
}

.sidebar-item > span {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f0fdfa;
    border-radius: 9px;
    font-size: 16px;
}

.sidebar-item small {
    display: block;
    margin-bottom: 2px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.sidebar-item strong {
    color: #334155;
    font-size: 12px;
}

.sidebar-completed,
.sidebar-incomplete {
    margin: 18px 0;
    padding: 11px;
    text-align: center;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.sidebar-completed {
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.sidebar-incomplete {
    color: #0f766e;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
}

.sidebar-course-button {
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #0f766e;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.sidebar-course-button:hover {
    color: #0f766e;
    background: #ccfbf1;
    transform: translateY(-2px);
}

.sidebar-course-button span {
    font-size: 16px;
}


/* =========================================================
   LESSON DETAIL - TABLET
   ========================================================= */

@media (max-width: 900px) {

    .lesson-layout {
        grid-template-columns: 1fr;
    }

    .lesson-sidebar {
        position: static;
    }

    .lesson-sidebar-card {
        max-width: 650px;
        margin: 0 auto;
    }

}


/* =========================================================
   LESSON DETAIL - MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .lesson-breadcrumb {
        font-size: 12px;
        overflow: hidden;
    }

    .lesson-breadcrumb a {
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lesson-header h1 {
        font-size: 30px;
    }

    .lesson-meta {
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .lesson-video {
        min-height: 270px;
    }

    .watch-video-button {
        min-width: 210px;
        min-height: 58px;
        padding: 0 18px;
        font-size: 13px;
    }

    .lesson-description-card {
        padding: 20px;
    }

    .lesson-completion-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .complete-button {
        width: 100%;
    }

    .lesson-navigation {
        grid-template-columns: 1fr;
    }

    .lesson-nav-button.next {
        justify-content: flex-start;
        text-align: left;
    }

    .course-completed-message {
        grid-column: auto;
    }

}


/* =========================================================
   YOUTUBE VIDEO PLAYER
   ========================================================= */

   .youtube-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.youtube-player iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}






















































/* =========================================
   PROFILE PAGE
========================================= */

.profile-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 70px 20px 90px;
}


/* -----------------------------------------
   Profile Header
----------------------------------------- */

.profile-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 45px;
}

.profile-header h1 {
    margin: 10px 0 12px;
    font-size: 42px;
    line-height: 1.2;
}

.profile-header p {
    margin: 0;
    color: #64748b;
    font-size: 17px;
    line-height: 1.7;
}


/* -----------------------------------------
   Layout
----------------------------------------- */

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
}


/* -----------------------------------------
   Main Profile Card
----------------------------------------- */

.profile-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
}


/* -----------------------------------------
   Profile Card Header
----------------------------------------- */

.profile-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px;
    background: linear-gradient(
        135deg,
        #eff6ff,
        #f0fdfa
    );
    border-bottom: 1px solid #e2e8f0;
}

.profile-avatar {
    width: 76px;
    height: 76px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #0f766e;
    color: #ffffff;

    font-size: 30px;
    font-weight: 700;

    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.2);
}

.profile-user-info h2 {
    margin: 0 0 5px;
    color: #0f172a;
    font-size: 25px;
}

.profile-user-info span {
    color: #64748b;
    font-size: 15px;
}


/* -----------------------------------------
   Profile Sections
----------------------------------------- */

.profile-section {
    padding: 32px;
}

.profile-section + .profile-section {
    border-top: 1px solid #e2e8f0;
}

.profile-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}

.profile-section-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #f0fdfa;

    font-size: 20px;
}

.profile-section-title h3 {
    margin: 0 0 3px;
    color: #0f172a;
    font-size: 19px;
}

.profile-section-title p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}


/* -----------------------------------------
   Information Grid
----------------------------------------- */

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.profile-info-item {
    padding: 19px 20px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 13px;
}

.profile-info-label {
    display: block;
    margin-bottom: 7px;

    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.profile-info-item strong {
    display: block;

    color: #0f172a;
    font-size: 16px;

    word-break: break-word;
}


/* -----------------------------------------
   Security
----------------------------------------- */

.security-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 20px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.security-card-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.security-card-info strong {
    color: #0f172a;
    font-size: 16px;
}

.security-card-info span {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}


/* -----------------------------------------
   Action Button
----------------------------------------- */

.profile-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 11px 17px;

    border-radius: 10px;

    background: #0f766e;
    color: #ffffff;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.profile-action-button:hover {
    background: #115e59;
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow: 0 7px 18px rgba(15, 118, 110, 0.2);
}

.profile-action-button span {
    font-size: 17px;
}


/* -----------------------------------------
   Sidebar
----------------------------------------- */

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-sidebar-card {
    padding: 28px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 20px;

    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.profile-sidebar-card:hover {
    transform: translateY(-3px);

    box-shadow: 0 15px 32px rgba(15, 23, 42, 0.09);
}

.sidebar-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 13px;

    background: #eff6ff;

    font-size: 21px;
}

.profile-sidebar-card h3 {
    margin: 0 0 9px;

    color: #0f172a;

    font-size: 20px;
}

.profile-sidebar-card p {
    margin: 0 0 20px;

    color: #64748b;

    font-size: 14px;
    line-height: 1.65;
}


/* -----------------------------------------
   Sidebar Buttons
----------------------------------------- */

.sidebar-action-button {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    box-sizing: border-box;

    padding: 12px 15px;

    border: 1px solid #cbd5e1;
    border-radius: 10px;

    color: #0f172a;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.sidebar-action-button:hover {
    background: #f0fdfa;
    border-color: #99f6e4;

    color: #0f766e;

    transform: translateY(-1px);
}

.sidebar-action-button span {
    font-size: 17px;
}


/* -----------------------------------------
   Mobile
----------------------------------------- */

@media (max-width: 900px) {

    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 650px) {

    .profile-page {
        padding: 45px 15px 60px;
    }

    .profile-header {
        margin-bottom: 30px;
    }

    .profile-header h1 {
        font-size: 32px;
    }

    .profile-header p {
        font-size: 15px;
    }

    .profile-card-header {
        padding: 24px;
    }

    .profile-avatar {
        width: 62px;
        height: 62px;
        font-size: 24px;
    }

    .profile-user-info h2 {
        font-size: 21px;
    }

    .profile-section {
        padding: 24px;
    }

    .profile-info-grid {
        grid-template-columns: 1fr;
    }

    .security-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-action-button {
        width: 100%;
    }

    .profile-sidebar {
        grid-template-columns: 1fr;
    }

}












































/* =========================================
   AUTH PAGES
   Login / Signup / Password
========================================= */

.auth-page {
    min-height: 70vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 70px 20px 90px;

    background:
        radial-gradient(
            circle at top left,
            rgba(20, 184, 166, 0.08),
            transparent 35%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(37, 99, 235, 0.07),
            transparent 35%
        );
}

.auth-container {
    width: 100%;
    max-width: 480px;
}

.auth-card {
    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 24px;

    padding: 42px;

    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.09);

    animation: authCardAppear 0.5s ease;
}


/* -----------------------------------------
   Header
----------------------------------------- */

.auth-header {
    text-align: center;

    margin-bottom: 32px;
}

.auth-icon {
    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    border-radius: 18px;

    background: #f0fdfa;

    font-size: 27px;
}

.auth-header h1 {
    margin: 10px 0 10px;

    color: #0f172a;

    font-size: 34px;
    line-height: 1.2;
}

.auth-header p {
    margin: 0;

    color: #64748b;

    font-size: 15px;
    line-height: 1.6;
}


/* -----------------------------------------
   Error
----------------------------------------- */

.auth-error {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-bottom: 22px;

    padding: 13px 15px;

    border: 1px solid #fecaca;
    border-radius: 11px;

    background: #fef2f2;

    color: #b91c1c;
}

.auth-error span {
    font-size: 17px;
}

.auth-error p {
    margin: 0;

    font-size: 14px;
    line-height: 1.5;
}


/* -----------------------------------------
   Form
----------------------------------------- */

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #334155;

    font-size: 14px;
    font-weight: 600;
}


/* -----------------------------------------
   Input
----------------------------------------- */

.input-wrapper {
    position: relative;

    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;

    font-size: 16px;

    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    box-sizing: border-box;

    padding: 14px 48px 14px 45px;

    border: 1px solid #cbd5e1;
    border-radius: 11px;

    background: #ffffff;

    color: #0f172a;

    font-size: 15px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.input-wrapper input::placeholder {
    color: #94a3b8;
}

.input-wrapper input:focus {
    border-color: #0f766e;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(15, 118, 110, 0.10);
}


/* -----------------------------------------
   Password Eye
----------------------------------------- */

.password-toggle {
    position: absolute;

    right: 10px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 8px;

    background: transparent;

    cursor: pointer;

    font-size: 17px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.password-toggle:hover {
    background: #f1f5f9;

    transform: scale(1.05);
}


/* -----------------------------------------
   Forgot Password
----------------------------------------- */

.auth-options {
    display: flex;
    justify-content: flex-end;

    margin-top: -5px;
}

.auth-options a {
    color: #0f766e;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition: color 0.2s ease;
}

.auth-options a:hover {
    color: #115e59;

    text-decoration: underline;
}


/* -----------------------------------------
   Submit Button
----------------------------------------- */

.auth-submit-button {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 14px 20px;

    border: none;
    border-radius: 11px;

    background: #0f766e;

    color: #ffffff;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-submit-button:hover {
    background: #115e59;

    transform: translateY(-2px);

    box-shadow:
        0 9px 22px rgba(15, 118, 110, 0.22);
}

.auth-submit-button:active {
    transform: translateY(0);
}

.auth-submit-button span {
    font-size: 19px;
}


/* -----------------------------------------
   Footer
----------------------------------------- */

.auth-footer {
    margin-top: 28px;

    padding-top: 24px;

    border-top: 1px solid #e2e8f0;

    text-align: center;
}

.auth-footer p {
    display: inline;

    margin: 0;

    color: #64748b;

    font-size: 14px;
}

.auth-footer a {
    margin-left: 5px;

    color: #0f766e;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}

.auth-footer a:hover {
    color: #115e59;

    text-decoration: underline;
}


/* -----------------------------------------
   Animation
----------------------------------------- */

@keyframes authCardAppear {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

}


/* -----------------------------------------
   Mobile
----------------------------------------- */

@media (max-width: 600px) {

    .auth-page {
        padding: 45px 15px 65px;
    }

    .auth-card {
        padding: 30px 22px;

        border-radius: 20px;
    }

    .auth-header h1 {
        font-size: 29px;
    }

    .auth-header p {
        font-size: 14px;
    }

}




/* =========================================
   SIGNUP PAGE
========================================= */

.signup-container {
    max-width: 520px;
}


/* -----------------------------------------
   Signup Help Text
----------------------------------------- */

.input-help {
    margin-top: -2px;

    color: #64748b;

    font-size: 12px;
    line-height: 1.5;
}


/* -----------------------------------------
   Signup Input Improvements
----------------------------------------- */

.signup-container .input-wrapper input {
    padding-top: 14px;
    padding-bottom: 14px;
}


/* -----------------------------------------
   Signup Mobile
----------------------------------------- */

@media (max-width: 600px) {

    .signup-container {
        max-width: 100%;
    }

}




/* =========================================
   FORGOT PASSWORD
========================================= */

.auth-card {
    animation: authCardAppear 0.5s ease;
}

.auth-form input::placeholder {
    color: #94a3b8;
    opacity: 1;
}











/* =========================================
   PASSWORD RESET SUCCESS
========================================= */

.auth-success-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0;
    padding: 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
}

.success-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #16a34a;
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.auth-success-box strong {
    display: block;
    margin-bottom: 3px;
    color: #166534;
}

.auth-success-box p {
    margin: 0;
    color: #4b5563;
    font-size: 13px;
}

.auth-submit-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
}













/* =========================================
   PASSWORD RESET EMAIL SENT
========================================= */

.reset-help-box {
    margin: 20px 0 24px;
    padding: 16px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.reset-help-box strong {
    display: block;
    margin-bottom: 10px;
    color: #1e293b;
    font-size: 14px;
}

.reset-help-box ul {
    margin: 0;
    padding-left: 20px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}

.reset-help-box li {
    margin-bottom: 3px;
}

.reset-help-box li:last-child {
    margin-bottom: 0;
}
















/* =========================================
   RESET PASSWORD
========================================= */

.field-error {
    margin-top: 7px;
    color: #dc2626;
    font-size: 13px;
    line-height: 1.5;
}

.field-error ul {
    margin: 0;
    padding-left: 18px;
}

.reset-invalid-box {
    margin: 20px 0 24px;
}

.reset-invalid-box strong {
    display: block;
    margin-bottom: 4px;
}

.reset-invalid-box p {
    margin: 0;
}

/* =========================================================
   JR SPORTS PHYSIO — NEW HOMEPAGE
   Navy / Teal / White Theme
   Homepage only: does not modify navigation or footer.
   ========================================================= */

.jr-home {
    background: #f8fafc;
    color: #1e293b;
    overflow: hidden;
}

.jr-home-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* HERO */

.jr-home-hero {
    position: relative;
    padding: 86px 0 76px;
    background:
        radial-gradient(circle at 85% 15%, rgba(15, 118, 110, .10), transparent 30%),
        linear-gradient(130deg, #f8fafc 0%, #eff7f7 55%, #edf3f8 100%);
}

.jr-home-hero-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 58px;
}

.jr-home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.jr-home-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0f766e;
    box-shadow: 0 0 0 5px rgba(15, 118, 110, .10);
}

.jr-home-hero h1 {
    max-width: 680px;
    margin: 22px 0;
    color: #0f2742;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.09;
    letter-spacing: -2px;
}

.jr-home-hero h1 span {
    display: block;
    color: #0f766e;
}

.jr-home-hero-description {
    max-width: 590px;
    color: #536477;
    font-size: 17px;
    line-height: 1.85;
}

.jr-home-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.jr-home-button {
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 21px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    transition: .25s ease;
}

.jr-home-button-primary {
    background: linear-gradient(110deg, #0f2742, #0f766e);
    color: #ffffff;
    box-shadow: 0 9px 22px rgba(15, 39, 66, .17);
}

.jr-home-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 25px rgba(15, 39, 66, .23);
}

.jr-home-button-secondary {
    border: 1px solid #cbd8df;
    background: #ffffff;
    color: #0f2742;
}

.jr-home-button-secondary:hover {
    border-color: #0f766e;
    color: #0f766e;
    transform: translateY(-2px);
}

.jr-home-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 13px 20px;
    margin-top: 34px;
}

.jr-home-trust-row > div {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #526274;
    font-size: 11px;
    font-weight: 600;
}

.jr-home-trust-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #d9f2ed;
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
}


/* HERO VISUAL */

.jr-home-hero-visual {
    min-height: 460px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jr-home-hero-orbit {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(15, 118, 110, .17);
    border-radius: 50%;
    box-shadow:
        0 0 0 27px rgba(15, 118, 110, .035),
        0 0 0 55px rgba(15, 118, 110, .025);
}

.jr-home-visual-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 410px;
    padding: 38px 36px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 25px;
    background: linear-gradient(145deg, #0f2742, #123b5d 65%, #0f766e);
    color: #ffffff;
    box-shadow: 0 28px 60px rgba(15, 39, 66, .22);
}

.jr-home-visual-label {
    color: #9fe2d4;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.jr-home-visual-card h2 {
    margin: 23px 0 13px;
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -.7px;
}

.jr-home-visual-card > p {
    color: #d1e0e9;
    font-size: 13px;
    line-height: 1.75;
}

.jr-home-visual-divider {
    height: 1px;
    margin: 23px 0;
    background: rgba(255, 255, 255, .17);
}

.jr-home-visual-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 0;
}

.jr-home-visual-step > span {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(159, 226, 212, .15);
    color: #a3e7d9;
    font-size: 12px;
    font-weight: 800;
}

.jr-home-visual-step strong,
.jr-home-visual-step small {
    display: block;
}

.jr-home-visual-step strong {
    font-size: 13px;
}

.jr-home-visual-step small {
    margin-top: 3px;
    color: #c2d5df;
    font-size: 11px;
}

.jr-home-floating-note {
    position: absolute;
    z-index: 2;
    right: -4px;
    bottom: 31px;
    max-width: 245px;
    padding: 14px 17px;
    border: 1px solid #e5eeef;
    border-radius: 12px;
    background: #ffffff;
    color: #0f2742;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(15, 39, 66, .12);
}

.jr-home-floating-note span {
    margin-right: 7px;
    color: #0f766e;
}


/* COMMON SECTIONS */

.jr-home-section {
    padding: 82px 0;
}

.jr-home-section-heading {
    max-width: 720px;
    margin: 0 auto 45px;
    text-align: center;
}

.jr-home-section-heading h2 {
    margin: 15px 0;
    color: #0f2742;
    font-size: clamp(29px, 3.6vw, 43px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.jr-home-section-heading h2 span {
    color: #0f766e;
}

.jr-home-section-heading > p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}


/* BENEFIT CARDS */

.jr-home-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 19px;
}

.jr-home-feature-card {
    padding: 26px 23px;
    border: 1px solid #e4eaf0;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(15, 39, 66, .035);
    transition: .25s ease;
}

.jr-home-feature-card:hover {
    transform: translateY(-5px);
    border-color: #b8dcd5;
    box-shadow: 0 15px 32px rgba(15, 39, 66, .08);
}

.jr-home-feature-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 13px;
    background: #e8f5f2;
    color: #0f766e;
    font-size: 24px;
    font-weight: 700;
}

.jr-home-feature-card h3 {
    margin-bottom: 11px;
    color: #0f2742;
    font-size: 16px;
}

.jr-home-feature-card p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
}


/* TREATMENT PROGRAMMES */

.jr-home-programmes {
    background: #f0f5f7;
}

.jr-home-condition-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.jr-home-condition-card {
    position: relative;
    overflow: hidden;
    padding: 29px;
    border: 1px solid #e2e9ed;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(15, 39, 66, .035);
}

.jr-home-condition-wide {
    grid-column: 1 / -1;
}

.jr-home-condition-number {
    margin-bottom: 15px;
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.jr-home-condition-card h3 {
    margin-bottom: 9px;
    color: #0f2742;
    font-size: 19px;
}

.jr-home-condition-card > p {
    margin-bottom: 19px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}

.jr-home-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.jr-home-tags span {
    padding: 7px 11px;
    border: 1px solid #dcebe7;
    border-radius: 30px;
    background: #f1f8f6;
    color: #285e57;
    font-size: 11px;
    font-weight: 600;
}


/* AVAILABLE COURSES */

.jr-home-available {
    margin-top: 65px;
}

.jr-home-available-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 23px;
}

.jr-home-available-heading h3 {
    margin-top: 9px;
    color: #0f2742;
    font-size: 25px;
}

.jr-home-text-link {
    color: #0f766e;
    font-size: 13px;
    font-weight: 800;
}

.jr-home-text-link:hover {
    color: #0f2742;
}

.jr-home-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.jr-home-course-card {
    overflow: hidden;
    border: 1px solid #e0e8ed;
    border-radius: 15px;
    background: #ffffff;
    transition: .25s ease;
}

.jr-home-course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(15, 39, 66, .09);
}

.jr-home-course-image,
.jr-home-course-placeholder {
    width: 100%;
    height: 185px;
    display: block;
    object-fit: cover;
}

.jr-home-course-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f2742, #0f766e);
    color: #ffffff;
}

.jr-home-course-placeholder span {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 3px;
}

.jr-home-course-placeholder small {
    margin-top: 5px;
    color: #b7e7dc;
    font-size: 10px;
    letter-spacing: 2px;
}

.jr-home-course-content {
    padding: 22px;
}

.jr-home-course-label {
    color: #0f766e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.jr-home-course-content h4 {
    margin: 9px 0;
    color: #0f2742;
    font-size: 18px;
}

.jr-home-course-content p {
    min-height: 62px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.7;
}

.jr-home-course-link {
    display: inline-block;
    margin-top: 13px;
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
}

.jr-home-course-link:hover {
    color: #0f2742;
}

.jr-home-empty {
    grid-column: 1 / -1;
    padding: 30px;
    border: 1px dashed #b9ccce;
    border-radius: 14px;
    background: #ffffff;
    text-align: center;
}

.jr-home-empty h4 {
    color: #0f2742;
}

.jr-home-empty p {
    margin-top: 7px;
    color: #64748b;
    font-size: 13px;
}


/* PROCESS */

.jr-home-process {
    background: #ffffff;
}

.jr-home-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.jr-home-process-card {
    padding: 26px 23px;
    border-top: 3px solid #0f766e;
    border-radius: 0 0 13px 13px;
    background: #f8fafc;
}

.jr-home-process-number {
    display: block;
    margin-bottom: 26px;
    color: #0f766e;
    font-size: 25px;
    font-weight: 800;
}

.jr-home-process-card h3 {
    margin-bottom: 10px;
    color: #0f2742;
    font-size: 16px;
}

.jr-home-process-card p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
}


/* CLINICAL EXPERTISE */

.jr-home-expertise {
    background: #eef5f5;
}

.jr-home-expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.jr-home-expertise-content h2 {
    margin: 17px 0;
    color: #0f2742;
    font-size: clamp(30px, 3.8vw, 44px);
    line-height: 1.18;
    letter-spacing: -1px;
}

.jr-home-expertise-content h2 span {
    color: #0f766e;
}

.jr-home-expertise-content > p {
    margin-bottom: 15px;
    color: #5c6d7d;
    font-size: 14px;
    line-height: 1.9;
}

.jr-home-expertise-content .jr-home-button {
    margin-top: 12px;
}

.jr-home-expertise-panel {
    padding: 32px;
    border: 1px solid #e0ebe8;
    border-radius: 19px;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(15, 39, 66, .07);
}

.jr-home-expertise-top {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 25px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e8eef0;
}

.jr-home-expertise-top > span {
    width: 53px;
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: linear-gradient(135deg, #0f2742, #0f766e);
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
}

.jr-home-expertise-top strong,
.jr-home-expertise-top small {
    display: block;
}

.jr-home-expertise-top strong {
    color: #0f2742;
    font-size: 14px;
}

.jr-home-expertise-top small {
    margin-top: 5px;
    color: #0f766e;
    font-size: 10px;
}

.jr-home-expertise-point {
    display: flex;
    gap: 14px;
    padding: 16px 0;
}

.jr-home-expertise-point > span {
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: #e1f4ed;
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
}

.jr-home-expertise-point strong {
    color: #0f2742;
    font-size: 13px;
}

.jr-home-expertise-point p {
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.7;
}


/* PERSONAL SUPPORT */

.jr-home-support {
    background: #ffffff;
}

.jr-home-support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.jr-home-support-card {
    padding: 29px;
    border: 1px solid #e3eaef;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(15, 39, 66, .035);
}

.jr-home-support-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #e6f3f1;
    color: #0f766e;
    font-size: 13px;
    font-weight: 800;
}

.jr-home-support-card h3 {
    margin-bottom: 10px;
    color: #0f2742;
    font-size: 17px;
}

.jr-home-support-card p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
}


/* FINAL CTA */

.jr-home-cta {
    position: relative;
    overflow: hidden;
    padding: 78px 0;
    background: linear-gradient(115deg, #0f2742 0%, #123b5d 58%, #0f766e 100%);
    text-align: center;
}

.jr-home-cta::before,
.jr-home-cta::after {
    position: absolute;
    content: "";
    width: 310px;
    height: 310px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 50%;
}

.jr-home-cta::before {
    top: -190px;
    left: -80px;
}

.jr-home-cta::after {
    right: -100px;
    bottom: -210px;
}

.jr-home-cta .jr-home-shell {
    position: relative;
    z-index: 1;
}

.jr-home-cta-label {
    color: #a5e8db;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.jr-home-cta h2 {
    max-width: 750px;
    margin: 17px auto;
    color: #ffffff;
    font-size: clamp(32px, 4.5vw, 49px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.jr-home-cta h2 span {
    color: #a5e8db;
}

.jr-home-cta > .jr-home-shell > p {
    max-width: 660px;
    margin: 0 auto;
    color: #d5e2e9;
    font-size: 14px;
    line-height: 1.8;
}

.jr-home-cta-actions {
    justify-content: center;
}

.jr-home-button-light {
    background: #ffffff;
    color: #0f2742;
}

.jr-home-button-light:hover {
    background: #e8f5f2;
    transform: translateY(-2px);
}

.jr-home-button-outline {
    border: 1px solid rgba(255, 255, 255, .55);
    color: #ffffff;
}

.jr-home-button-outline:hover {
    background: rgba(255, 255, 255, .12);
}

.jr-home-cta-note {
    margin-top: 25px;
    color: #c3ddd9;
    font-size: 12px;
}


/* DISCLAIMER */

.jr-home-disclaimer {
    padding: 22px 0;
    background: #edf2f5;
}

.jr-home-disclaimer p {
    color: #64748b;
    font-size: 11px;
    line-height: 1.8;
}

.jr-home-disclaimer strong {
    color: #0f2742;
}


/* RESPONSIVE HOMEPAGE SECTIONS
   Navigation is intentionally not changed here. */

@media (max-width: 1000px) {

    .jr-home-hero-grid {
        gap: 30px;
    }

    .jr-home-feature-grid,
    .jr-home-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jr-home-expertise-grid {
        gap: 35px;
    }

    .jr-home-course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 760px) {

    .jr-home-hero {
        padding: 60px 0 52px;
    }

    .jr-home-hero-grid,
    .jr-home-expertise-grid {
        grid-template-columns: 1fr;
    }

    .jr-home-hero-content {
        text-align: center;
    }

    .jr-home-hero-description {
        margin: 0 auto;
    }

    .jr-home-actions,
    .jr-home-trust-row {
        justify-content: center;
    }

    .jr-home-hero-visual {
        min-height: 420px;
    }

    .jr-home-hero-orbit {
        width: 330px;
        height: 330px;
    }

    .jr-home-floating-note {
        right: 2px;
    }

    .jr-home-section {
        padding: 62px 0;
    }

    .jr-home-condition-grid {
        grid-template-columns: 1fr;
    }

    .jr-home-condition-wide {
        grid-column: auto;
    }

    .jr-home-support-grid {
        grid-template-columns: 1fr;
    }

    .jr-home-expertise-content {
        text-align: center;
    }

}


@media (max-width: 520px) {

    .jr-home-shell {
        width: calc(100% - 32px);
    }

    .jr-home-hero {
        padding-top: 45px;
    }

    .jr-home-hero h1 {
        font-size: 39px;
        letter-spacing: -1.4px;
    }

    .jr-home-hero-description {
        font-size: 14px;
    }

    .jr-home-button {
        width: 100%;
    }

    .jr-home-actions {
        flex-direction: column;
    }

    .jr-home-trust-row {
        flex-direction: column;
        align-items: center;
    }

    .jr-home-hero-visual {
        min-height: 400px;
    }

    .jr-home-visual-card {
        padding: 27px 23px;
    }

    .jr-home-visual-card h2 {
        font-size: 28px;
    }

    .jr-home-floating-note {
        right: 0;
        bottom: 0;
        max-width: 220px;
    }

    .jr-home-feature-grid,
    .jr-home-process-grid,
    .jr-home-course-grid {
        grid-template-columns: 1fr;
    }

    .jr-home-section-heading {
        margin-bottom: 30px;
    }

    .jr-home-section-heading h2 {
        font-size: 30px;
    }

    .jr-home-available-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .jr-home-condition-card,
    .jr-home-support-card {
        padding: 23px;
    }

    .jr-home-expertise-panel {
        padding: 24px 20px;
    }

    .jr-home-cta {
        padding: 62px 0;
    }

}



/* =====================================================
   JR PHYSIO — TYPOGRAPHY AND VISUAL POLISH
   ===================================================== */

:root {
    --jr-navy: #0f2742;
    --jr-blue: #123b5d;
    --jr-teal: #0f766e;
    --jr-text: #1e293b;
    --jr-muted: #526477;
    --jr-border: #e2eaf0;
    --jr-soft: #f0f7f6;
}

body {
    font-family: "DM Sans", Arial, sans-serif;
    color: var(--jr-text);
    line-height: 1.65;
}

button,
input,
textarea,
select {
    font: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "DM Sans", Arial, sans-serif;
    letter-spacing: -0.5px;
}

/* Homepage backgrounds */

.jr-home-hero {
    background:
        radial-gradient(circle at 85% 15%,
        rgba(15,118,110,.12), transparent 32%),
        linear-gradient(135deg, #f8fafc, #edf6f5 65%, #eef3f8);
}

/* Professional headings */

.jr-home-section-heading h2,
.jr-home-expertise-content h2 {
    font-weight: 800;
    letter-spacing: -1.2px;
}

.jr-home-hero h1 {
    font-weight: 800;
    letter-spacing: -1.8px;
}

/* Feature cards */

.jr-home-feature-card,
.jr-home-condition-card,
.jr-home-support-card {
    border: 1px solid var(--jr-border);
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #fbfdfd);
    box-shadow: 0 5px 18px rgba(15,39,66,.045);
    transition: transform .25s ease,
                box-shadow .25s ease,
                border-color .25s ease;
}

.jr-home-feature-card:hover,
.jr-home-condition-card:hover,
.jr-home-support-card:hover {
    transform: translateY(-5px);
    border-color: #b6d9d2;
    box-shadow: 0 15px 32px rgba(15,39,66,.10);
}

/* Subtle icon pops */

.jr-home-feature-icon,
.jr-home-support-icon {
    background: linear-gradient(135deg, #e5f5f1, #ccebe3);
    color: #0b645d;
    box-shadow: 0 5px 12px rgba(15,118,110,.10);
}

/* Premium course cards */

.jr-home-course-card {
    border: 1px solid var(--jr-border);
    box-shadow: 0 6px 20px rgba(15,39,66,.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.jr-home-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 17px 35px rgba(15,39,66,.13);
}

.jr-home-course-content h4 {
    font-weight: 700;
}

/* Better readability */

.jr-home-feature-card p,
.jr-home-condition-card p,
.jr-home-support-card p,
.jr-home-process-card p,
.jr-home-course-content p {
    color: #526477;
    line-height: 1.8;
}

/* Gradient primary buttons */

.jr-home-button-primary {
    background: linear-gradient(110deg, #0f2742, #0f766e);
    box-shadow: 0 6px 16px rgba(15,118,110,.20);
    transition: transform .25s ease, box-shadow .25s ease;
}

.jr-home-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 11px 25px rgba(15,118,110,.28);
}

/* Visual depth */

.jr-home-visual-card {
    box-shadow:
        0 25px 55px rgba(15,39,66,.20),
        0 5px 15px rgba(15,118,110,.10);
}

.jr-home-expertise-panel {
    box-shadow: 0 15px 40px rgba(15,39,66,.09);
}

/* More polished section backgrounds */

.jr-home-programmes {
    background: linear-gradient(180deg, #f0f5f7, #f7fafb);
}

.jr-home-expertise {
    background: linear-gradient(130deg, #eef5f5, #f4f8fa);
}

/* Consistent link interaction */

.jr-home a:focus-visible {
    outline: 3px solid #0f766e;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .jr-home *,
    .jr-home *::before,
    .jr-home *::after {
        transition: none !important;
    }
}



/* =========================================================
   JR PHYSIO — MOBILE SLIDE-OUT NAVIGATION
   Desktop navigation styles remain unchanged.
   ========================================================= */


/* Hide mobile controls on desktop */

@media (min-width: 769px) {

    .mobile-menu-toggle,
    .mobile-nav-backdrop,
    .mobile-nav-drawer {
        display: none !important;
    }

}


/* MOBILE NAVIGATION */

@media (max-width: 768px) {

    /* Header layout */

    .main-nav {
        min-height: 70px !important;
        padding: 9px 5% !important;
        display: flex;
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .brand img {
        width: 90px;
    }

    /* Hide desktop navigation and account controls */

    .main-nav > .nav-links,
    .main-nav > .nav-right {
        display: none !important;
    }

    /* Hamburger button */

    .mobile-menu-toggle {
        width: 46px;
        height: 44px;
        flex-shrink: 0;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;

        border: 1px solid #dce8e8;
        border-radius: 11px;

        background: linear-gradient(145deg, #ffffff, #f0f8f6);

        box-shadow: 0 4px 13px rgba(15, 39, 66, .09);

        cursor: pointer;
        transition: .25s ease;
    }

    .mobile-menu-toggle:hover {
        border-color: #0f766e;
        box-shadow: 0 6px 16px rgba(15, 118, 110, .15);
    }

    .mobile-menu-toggle span {
        display: block;
        width: 21px;
        height: 2.5px;
        border-radius: 10px;
        background: #0f2742;
        transition: transform .3s ease, opacity .25s ease;
    }

    .mobile-menu-toggle.is-open span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }

    .mobile-menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }


    /* Background overlay */

    .mobile-nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1100;

        display: block;

        background: rgba(8, 23, 39, .53);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition: opacity .3s ease, visibility .3s ease;
    }

    .mobile-nav-backdrop.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }


    /* Slide-out drawer */

    .mobile-nav-drawer {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1101;

        width: min(86vw, 370px);
        height: 100vh;
        height: 100dvh;

        display: flex;
        flex-direction: column;

        padding:
            calc(23px + env(safe-area-inset-top))
            23px
            calc(22px + env(safe-area-inset-bottom));

        overflow-y: auto;

        background: linear-gradient(160deg, #ffffff 0%, #f7fbfa 100%);

        border-left: 1px solid #e2ebec;

        box-shadow: -15px 0 45px rgba(15, 39, 66, .18);

        transform: translateX(105%);
        visibility: hidden;

        transition: transform .35s cubic-bezier(.22, .8, .25, 1),
                    visibility .35s ease;
    }

    .mobile-nav-drawer.is-open {
        transform: translateX(0);
        visibility: visible;
    }


    /* Drawer header */

    .mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;

        padding-bottom: 24px;
        border-bottom: 1px solid #e5eeee;
    }

    .mobile-drawer-brand {
        display: flex;
        flex-direction: column;
        gap: 4px;
        color: #0f2742;
    }

    .mobile-drawer-brand strong {
        font-size: 15px;
        font-weight: 800;
        letter-spacing: .6px;
    }

    .mobile-drawer-brand small {
        color: #0f766e;
        font-size: 10px;
        font-weight: 600;
    }

    .mobile-menu-close {
        width: 40px;
        height: 40px;
        flex-shrink: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        border: 1px solid #e2e8f0;
        border-radius: 10px;

        background: #ffffff;
        color: #0f2742;

        font-size: 26px;
        line-height: 1;

        cursor: pointer;

        transition: .2s ease;
    }

    .mobile-menu-close:hover {
        background: #e9f6f2;
        color: #0f766e;
        border-color: #b9ded4;
    }


    /* Drawer links */

    .mobile-drawer-links {
        display: flex;
        flex-direction: column;
        gap: 7px;
        padding-top: 25px;
    }

    .mobile-drawer-label {
        margin: 0 0 8px 5px;

        color: #0f766e;

        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.5px;
    }

    .mobile-drawer-links > a {
        min-height: 49px;

        display: flex;
        align-items: center;
        gap: 13px;

        padding: 11px 13px;

        border: 1px solid transparent;
        border-radius: 10px;

        color: #263b50;

        font-size: 14px;
        font-weight: 600;

        transition: background .2s ease, color .2s ease,
                    transform .2s ease;
    }

    .mobile-drawer-links > a > span {
        width: 27px;
        height: 27px;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 8px;
        background: #e6f4f0;

        color: #0f766e;

        font-size: 16px;
    }

    .mobile-drawer-links > a:hover {
        background: #edf8f5;
        border-color: #d4ebe4;
        color: #0f766e;
        transform: translateX(3px);
    }

    .mobile-drawer-divider {
        height: 1px;
        margin: 13px 0;
        background: #e3ebed;
    }

    .mobile-drawer-links .mobile-drawer-logout {
        color: #c24141;
    }

    .mobile-drawer-links .mobile-drawer-logout > span {
        background: #fff0f0;
        color: #c24141;
    }


    /* Guest account buttons */

    .mobile-drawer-auth {
        display: grid;
        grid-template-columns: 1fr 1.25fr;
        gap: 10px;
        margin-top: 15px;
    }

    .mobile-drawer-auth a {
        min-height: 46px;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 9px;

        font-size: 13px;
        font-weight: 700;
    }

    .mobile-drawer-login {
        border: 1px solid #cbd9df;
        background: #ffffff;
        color: #0f2742;
    }

    .mobile-drawer-signup {
        background: linear-gradient(120deg, #0f2742, #0f766e);
        color: #ffffff;
        box-shadow: 0 5px 14px rgba(15, 118, 110, .18);
    }


    /* Drawer footer */

    .mobile-drawer-footer {
        display: flex;
        flex-direction: column;
        gap: 5px;

        margin-top: auto;
        padding-top: 27px;

        border-top: 1px solid #e5eeee;
    }

    .mobile-drawer-footer strong {
        color: #0f2742;
        font-size: 11px;
        letter-spacing: 1px;
    }

    .mobile-drawer-footer small {
        color: #718096;
        font-size: 10px;
    }

    body.mobile-nav-open {
        overflow: hidden;
    }

}

