/* ==========================================================================
   Isolated Ambient Floating & Luminescence Glow Effect
   ========================================================================== */
.bulb-element img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 1;
    animation: bulbGlowPulse 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

@keyframes bulbGlowPulse {
  0% {
    filter: drop-shadow(0 4px 10px rgba(49, 151, 149, 0.15));
  }
  100% {
    filter: drop-shadow(0 12px 25px rgba(51, 241, 140, 0.41));
    transform: translateY(-25px);
  }
}

/* =========================================================================
   1. GLOBAL ARCHITECTURE & DESIGN SYSTEM CONFIGURATION
   ========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;450;500;550;600;650;700;750;800&display=swap');

:root {
    --brand-primary: #0f6e56;
    --brand-primary-glow: rgba(125, 173, 157, 0.12);
    --brand-light-bg: #f3faf7;
    --brand-border-tint: rgba(125, 173, 157, 0.25);
    
    --glass-background: rgba(169, 227, 208, 0.7);
    --background: #a9e3d0;
    --page-color: #f6f9fb; 
    --scroll-bar-color: #0f6e56;
    --hover-color: #ffffff;
    --dark-neutral: #0f0f1a; 
    --muted-text: #5c5c7a;   
    --font-primary: "Nunito", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Nunito", sans-serif;
}

html, body, main, header, footer, section, div, h1, h2, h3, h4, h5, h6, p, a, span,
button, .btn, input, select, textarea, option {
    font-family: "Nunito", sans-serif;
}

html, body {
    min-height: 100%;
    width: 100%;
    overflow-x: clip;
    background-color: var(--page-color);
}

#main {
    min-height: 100%;
    width: 100%;
    background-color: var(--page-color);
}

/* Custom Webkit Scrollbars */
::-webkit-scrollbar {
    width: 0.6rem;
    background-color: var(--page-color);
}

::-webkit-scrollbar-thumb {
    background-color: var(--scroll-bar-color);
    border-radius: 10px;
}

*::selection {
    color: white;
    background-color: var(--background);
}

.hover:hover {
    color: var(--hover-color);
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================================
   2. PAGE 1: LANDING HERO SYSTEM
   ========================================================================= */
#main .page1 {
    min-height: calc(100vh - 10vh);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, #e3f6fc 0%, #f6f9fb 85%, #f6f9fb 100%);
    position: relative;
    overflow: hidden;
}

#main .page1::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, #e0f4fb 20%, rgba(125, 173, 157, 0.25) 90%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(20px);
}

#main .page1::after {
    content: "";
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #e0f4fb 20%, rgba(125, 173, 157, 0.2) 90%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(20px);
}

#main .page1 .hero {
    position: relative;
    max-width: 1300px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    z-index: 1;
}

.hero__content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    background: linear-gradient(90deg, rgba(125,173,157,0.08) 0%, rgba(125,173,157,0.18) 100%);
    color: var(--brand-primary);
    border: 1px solid rgba(125, 173, 157, 0.35);
    font-weight: 450;
    letter-spacing: 0.15em; 
    text-transform: uppercase;
    font-size: 0.72rem;
    margin-bottom: 1.8rem;
    width: fit-content;
}

.hero__title {
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 1.15;
    letter-spacing: -0.03em; 
    margin-bottom: 1.5rem;
    color: var(--dark-neutral);
    font-weight: 650;
}

.hero__title span {
    color: #0f6e56;
}

.hero__subtitle {
    font-size: clamp(1.02rem, 1.5vw, 1.15rem);
    line-height: 1.75;
    color: var(--muted-text);
    margin-bottom: 2.8rem;
    font-weight: 500;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-size: 0.98rem;
    font-weight: 450;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.cta-btn.primary {
    background: var(--brand-primary);
    color: white;
    box-shadow: 0 8px 24px rgba(125, 173, 157, 0.25);
}

.cta-btn:hover {
    transform: translateY(-4px);
}

.cta-btn.primary:hover {
    box-shadow: 0 16px 32px rgba(125, 173, 157, 0.4);
}

.cta-btn.secondary {
    background: #ffffff;
    color: var(--muted-text);
    border: 1px solid rgba(26, 26, 46, 0.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.cta-btn.secondary:hover {
    background: var(--background);
    color: var(--dark-neutral);
    border-color: var(--background);
}

.hero__visual {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* =========================================================================
   3. GLOBAL METRICS BAR
   ========================================================================= */
.stats-bar {
    background: var(--dark-neutral);
    padding: 2.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem 4rem;
    width: 100%;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.stat-item {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 0.5rem 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 650;
    color: #a9e3d0;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 650;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =========================================================================
   4. PAGE 2: CORE SECTION HEADERS
   ========================================================================= */
#main .page2 {
    min-height: 100%;
    width: 100%;
    background-color: var(--page-color);
    position: relative;
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(2, 235, 157, 0.086) 0%, rgba(2, 235, 157, 0.086) 100%);
    color: var(--brand-primary);
    border: 1px solid rgba(125, 173, 157, 0.35);
    padding: 0.4rem 1.4rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 450;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.2rem;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--dark-neutral);
    font-weight: 650;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.section-title span {
    color: #0f6e56;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--muted-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 500;
}

/* =========================================================================
   5. INTERACTIVE TIMELINE WORKFLOW SYSTEM
   ========================================================================= */
.workflow-section {
    padding: 7rem 2rem;
    background: #ffffff;
    width: 100%;
    overflow: hidden;
}

.workflow-timeline-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1300px;
    margin: 6rem auto 2rem auto;
    width: 100%;
}

.timeline-progress-line {
    position: absolute;
    top: 90px;
    left: 6%;
    width: 88%;
    height: 4px;
    background: #f0f4f8;
    z-index: 1;
}

.workflow-step-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    z-index: 5;
    padding: 1.5rem 1rem;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-text-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.step-badge {
    background: #f8fafc;
    color: #64748b;
    font-family: "Nunito", sans-serif;
    font-weight: 650;
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1.2rem;
    border: 1px solid #e2e8f0;
    z-index: 5;
}

.step-image-frame {
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border-radius: 24px;
    z-index: 4;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 650;
    color: var(--dark-neutral);
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--muted-text);
    line-height: 1.6;
    padding: 0 0.5rem;
}

.satisfaction-loop-alert {
    width: 100%;
    max-width: 220px;
    background: #fff5f5;
    border: 1px dashed #f56565;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    margin-top: 1.2rem;
}

.loop-tag {
    display: inline-block;
    background: #f56565;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 650;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.satisfaction-loop-alert p {
    font-size: 0.75rem;
    color: #c53030;
    font-weight: 450;
    line-height: 1.35;
}

.workflow-step-card.highlight-loop {
    background-color: #f4fdf9;
    box-shadow: 0 4px 6px rgba(125, 173, 157, 0.02), 0 20px 30px rgba(125, 173, 157, 0.06);
}

.workflow-step-card.highlight-loop .step-badge {
    background: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
}

.workflow-step-card:hover {
    transform: translateY(-8px);
}

.workflow-step-card:hover .step-image-frame {
    transform: scale(1.08);
    filter: drop-shadow(0 15px 25px rgba(125, 173, 157, 0.18));
}

/* =========================================================================
   6. REVIEWS & TESTIMONIALS MESH GRID
   ========================================================================= */
.testimonials-section {
    padding: 7rem 2rem;
    background: var(--page-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(125,173,157,0.18);
    border-radius: 20px;
    padding: 2.5rem 2.2rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 45px rgba(125, 173, 157, 0.12);
    border-color: var(--brand-primary);
}

.stars {
    color: #f59e0b;
    font-size: 0.95rem;
    letter-spacing: 4px;
    margin-bottom: 1.2rem;
}

.testimonial-text {
    font-size: 0.96rem;
    color: var(--muted-text);
    line-height: 1.8;
    font-style: italic;
    flex-grow: 1;
    margin-bottom: 1.8rem;
    position: relative;
    padding-top: 0.5rem;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -0.9rem;
    left: -0.4rem;
    font-size: 3.8rem;
    color: #c9ebd2;
    font-style: normal;
    font-weight: 650;
    line-height: 1;
    opacity: 0.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.4rem;
    border-top: 1px solid #f0f4f6;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-light-bg);
    color: var(--brand-primary);
    font-weight: 450;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(125,173,157,0.3);
}

.author-name {
    font-size: 0.98rem;
    font-weight: 450;
    color: var(--dark-neutral);
}

.author-class {
    font-size: 0.82rem;
    color: var(--muted-text);
    margin-top: 0.1rem;
}

/* =========================================================================
   7. NAVIGATION UTILITIES (SCROLL TO TOP UPGRADES)
   ========================================================================= */
.auth-hidden {
  display: none;
}

/* Updated to target the functional ID from your script.js template */
#scrollTopBtn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  background-color: var(--brand-primary);
  color: #ffffff;
  border: 2px solid var(--brand-primary);
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(125, 173, 157, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s ease;
}

#scrollTopBtn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 20px rgba(125, 173, 157, 0.45);
}

#scrollTopBtn.is-visible {
  opacity: 1;
  visibility: visible;
}

/* =========================================================================
   8. MOBILE NAVBAR NAVIGATION SYSTEM (GLASSMORPHISM OVERLAY)
   ========================================================================= */
#mobileMenuBtn {
    display: none;
}

.mobile-drawer-wrapper {
    display: none;
}

@media (max-width: 1024px) {
    #header #logo .logo-name {
        margin-left: 0.5rem;
    }

    #menu {
        display: none;
    }

    #mobileMenuBtn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        right: 1.5rem;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
        z-index: 10002;
        background-color: var(--brand-primary);
        border-radius: 50%;
        border: 1.5px solid #d4ede5;
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
    }

    .mobile-icon-asset {
        width: 22px;
        height: 22px;
        object-fit: contain;
        pointer-events: none;
        filter: brightness(0) invert(1);
    }

    #mobileMenuBtn .menu-icon { display: block; }
    #mobileMenuBtn .close-icon { display: none; }

    #mobileMenuBtn.is-open {
        background-color: var(--brand-primary);
        transform: translateY(-50%) rotate(90deg);
    }

    #mobileMenuBtn.is-open .menu-icon { display: none; }
    #mobileMenuBtn.is-open .close-icon { display: block; }

    .mobile-drawer-wrapper {
        display: flex;
        right: 1rem;
        left: auto;
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        position: absolute;
        top: 100%;
        width: 290px;
        border-radius: 20px;
        padding: 2.5rem 1.5rem;
        z-index: 10001;
        box-sizing: border-box;
        background: var(--glass-background, rgba(169, 227, 208, 0.75));
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.25);
        box-shadow: 0 15px 30px rgba(26, 26, 46, 0.06);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
    }

    .mobile-drawer-wrapper.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* ---- MOBILE DRAWER LOGIN BUTTON ---- */
    #mobileMenuDrawer .nav-login-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-family: "Nunito", sans-serif;
        font-size: 1rem;
        font-weight: 450;
        color: #ffffff;
        background-color: var(--dark-neutral);
        border: none;
        border-radius: 12px;
        box-shadow: 0 4px 12px #04fc8426;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    #mobileMenuDrawer .nav-login-btn:hover {
        background-color: var(--brand-primary, #0f6e56);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(125, 173, 157, 0.3);
    }

    /* ---- MOBILE DRAWER DIVIDER LINE ---- */
    #mobileMenuDrawer .menu-divider {
        width: 100%;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.35);
        margin: 0.5rem 0 0.7rem 0;
        border: none;
        display: block;
    }

    /* ---- BASE MOBILE LINK CONFIGURATION ---- */
    .mobile-link {
        font-family: "Nunito", sans-serif;
        font-size: 1.1rem;
        font-weight: 450;
        color: var(--dark-neutral, #1a1a2e);
        text-decoration: none;
        padding: 0.6rem 1.5rem;
        text-align: center;
        width: 100%;
        display: block;
        box-sizing: border-box;
        transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
    }

    /* ---- PREMIUM ACTIVE PEEKING TAB BLOCK ---- */
    .mobile-link.active {
        color: #ffffff;
        border-radius: 7px; 
        background-color: var(--brand-primary, #1a1a2e); 
        box-shadow: -2px 4px 12px rgba(26, 26, 46, 0.12);
        transform: translateX(-2px); 
    }

    .mobile-link:hover:not(.active) {
        color: #ffffff;
        transform: scale(1.04);
    }

    .mobile-profile-header {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        padding-bottom: 0.5rem;
        width: 100%;
    }
}

/* =========================================================================
   9. DEVICE RE-LAYOUT RIGID RESPONSIVE BREAKPOINTS
   ========================================================================= */
@media (max-width: 1024px) {
    .workflow-timeline-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 4rem;
        padding: 0 1rem;
        margin-top: 4rem;
    }

    .timeline-progress-line {
        top: 0;
        left: 52px;
        width: 4px;
        height: 94%;
    }

    .workflow-step-card {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 2rem;
        width: 100%;
        padding: 1.2rem 1rem;
    }

    .step-text-block {
        align-items: flex-start;
        flex: 1;
    }

    .workflow-step-card:hover {
        transform: translateX(6px);
    }

    .step-badge {
        position: absolute;
        top: -12px;
        left: 38px;
    }

    .step-image-frame {
        margin-bottom: 0;
        flex-shrink: 0;
        width: 90px;
        height: 90px;
    }

    .step-desc {
        font-size: 75%;
        padding: 0;
    }

    .satisfaction-loop-alert {
        margin-top: 1rem;
        font-size: 60%;
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    #main .page1 {
        padding: 3rem 1.5rem;
    }

    #main .page1 .hero {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero__visual {
        display: none;
    }

    .stats-bar {
        flex-direction: column;
        gap: 2.5rem;
        padding: 3rem 1.5rem;
    }

    .stat-item {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1.5rem;
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

@media (max-width: 600px) {
    #main .page1 {
        padding: 2.5rem 1rem 2rem;
    }

    .hero__actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .cta-btn {
        width: 100%;
    }

    .testimonials-section {
        padding: 4rem 1rem;
    }

    .testimonials-grid {
        gap: 1.2rem;
    }
}

/* =========================================================================
   10. PAGE2, SERVICE AND GRADIANTS
   ========================================================================= */

.page2 .cards {
    width: 100%;
    max-width: 1300px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    padding: 0 1rem;
}

.card {
    background: #ffffff;
    border: 1px solid var(--brand-border-tint); 
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2.2rem;
    position: relative;
    box-shadow: 
        0 4px 6px rgba(26, 26, 46, 0.01),
        0 15px 30px rgba(26, 26, 46, 0.02),
        0 25px 50px rgba(125, 173, 157, 0.04);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--brand-primary);
    box-shadow: 
        0 4px 10px rgba(125, 173, 157, 0.04),
        0 22px 40px rgba(26, 26, 46, 0.04),
        0 40px 70px rgba(125, 173, 157, 0.09);
}

.card .courses {
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0.6rem;
    display: block;
}

.card .courses h4 {
    font-size: 0.85rem;
    color: var(--brand-primary);
    font-weight: 450;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card .chapter {
    font-size: 1.5rem;
    color: var(--dark-neutral);
    font-weight: 650;
    padding: 0;
    margin: 0 0 1.4rem 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: left;
}

.card .sub-topic {
    font-size: 0.95rem;
    color: var(--muted-text);
    line-height: 1.75;
    padding: 0 0 2.2rem 0;
    margin: 0;
    flex-grow: 1;
    font-weight: 500;
    text-align: left;
    border-bottom: 1px dashed #e2e8f0;
}

.card .sub-topic strong {
    color: var(--dark-neutral);
    font-weight: 450;
}

.card .join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    max-width: 100%;
    margin: 1.8rem 0 0 0;
    padding: 0.9rem 1.6rem;
    font-size: 0.94rem;
    background-color: var(--brand-light-bg);
    color: var(--brand-primary);
    border: 1.5px solid rgba(125, 173, 157, 0.3);
    border-radius: 12px;
    font-weight: 450;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: none;
}

.card .join-btn:hover {
    transform: none;
    background-color: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
    box-shadow: 0 6px 18px rgba(125, 173, 157, 0.25);
}

@media (max-width: 600px) {
    #main .page2 {
        padding: 4rem 1rem;
    }

    .page2 .cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        padding: 2rem 1.5rem;
    }

    .card .chapter {
        font-size: 1.4rem;
        padding: 0;
    }
}
