/* GroThh Specific Styles - Merged from grothh-enhanced.css and styles.css */

/* CTA benefits split into two columns */
.cta-benefits.cta-benefits-split {
    display: flex;
    gap: 2px;
    justify-content: center;
    margin-bottom: 24px;
}

.cta-benefits-col {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
}

.cta-benefits-col .benefit-item {
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    margin-top: 10px;
}

/* Custom tooltip for hero floating icons */
.custom-tooltip {
    position: fixed;
    z-index: 9999;
    background: rgba(30, 30, 30, 0.95);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
    transition: opacity 0.1s;
    opacity: 1;
}

/* HERO ICONS GRID STYLES */
.hero-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 10px;
    justify-items: center;
    align-items: end;
    max-width: 380px;
    margin: 0 auto 18px auto;
    padding-top: 8px;
}

.hero-icons-grid .floating {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: none;
    border: none;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
    animation: dance 1.6s infinite alternate cubic-bezier(.4, 1.6, .6, 1);
}

.hero-icons-grid .floating i {
    width: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(20, 20, 20, 0.85);
    border: none;
    text-decoration: none;
    box-shadow: 0 0 24px 0 rgba(255, 145, 77, 0.18), 0 2px 8px 0 rgba(0, 0, 0, 0.18);
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
    animation: dance 1.6s infinite alternate cubic-bezier(.4, 1.6, .6, 1);
}

.hero-icons-grid .floating:active,
.hero-icons-grid .floating:focus,
.hero-icons-grid .floating:hover,
.hero .floating:active,
.hero .floating:focus,
.hero .floating:hover {
    box-shadow: 0 0 32px 0 rgba(255, 145, 77, 0.28), 0 4px 16px 0 rgba(0, 0, 0, 0.22);
}

.hero-icons-grid {
    max-width: 98vw;
    gap: 10px 4px;
    padding-top: 2vw;
}

.hero-icons-grid .floating {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    animation-duration: 5.2s !important;
}

.hero-icons-grid .floating i {
    width: 18px;
    height: 18px;
}

.hero-icons-grid .icon-label {
    font-size: 10px;
}

@keyframes dance {
    0% {
        transform: translateY(0) scale(1) rotate(-6deg);
    }

    20% {
        transform: translateY(-6px) scale(1.08) rotate(6deg);
    }

    40% {
        transform: translateY(2px) scale(0.98) rotate(-4deg);
    }

    60% {
        transform: translateY(-4px) scale(1.04) rotate(4deg);
    }

    80% {
        transform: translateY(1px) scale(1.01) rotate(-2deg);
    }

    100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

/* HERO ICON LABELS */
.hero-icons-row .icon-label {
    display: none;
    font-size: 12px;
    color: #fff;
    margin-top: 2px;
    text-align: center;
    width: 100%;
    letter-spacing: 0.01em;
    font-family: inherit;
}

/* ============================================
   SECTION 1: Learning Path Visualization
   ============================================ */

.learning-path-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: #000;
}

.parallax-bg-learning {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 40%, rgba(255, 145, 77, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    will-change: transform;
    animation: parallax-float 20s ease-in-out infinite;
}

@keyframes parallax-float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.path-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.learning-path-visual {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    position: relative;
}

.path-node {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.path-node.visible {
    opacity: 1;
    transform: translateY(0);
}

.path-node:nth-child(1).visible {
    transition-delay: 0s;
}

.path-node:nth-child(2).visible {
    transition-delay: 0.15s;
}

.path-node:nth-child(3).visible {
    transition-delay: 0.3s;
}

.path-node:nth-child(4).visible {
    transition-delay: 0.45s;
}

.node-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    z-index: 2;
}

.node-circle i {
    width: 32px;
    height: 32px;
    color: var(--text-muted);
    transition: all 0.4s ease;
}

.node-circle.active {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.3) 0%, rgba(255, 145, 77, 0.1) 100%);
    border-color: var(--brand-orange);
    box-shadow: 0 0 30px rgba(255, 145, 77, 0.3);
}

.node-circle.active i {
    color: var(--brand-orange);
}

/* Hover effect - added stronger glow + border */
.path-node:hover .node-circle {
    transform: scale(1.12);
    /* slightly bigger scale */
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.38) 0%, rgba(255, 145, 77, 0.12) 100%);
    border: 3px solid #ff914d;
    /* thicker & brighter orange border */
    box-shadow:
        0 0 40px rgba(255, 145, 77, 0.55),
        /* strong centered glow */
        0 0 70px rgba(255, 145, 77, 0.28);
    /* larger soft halo */
}

.path-node:hover .node-circle i {
    color: #ff914d;
}

.node-content {
    text-align: center;
    margin-top: 24px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.node-content h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-main);
}

.node-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 200px;
}

.path-node:hover .node-content {
    transform: scale(1.1);
}

.node-connector {
    position: absolute;
    top: 40px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 145, 77, 0.3) 0%, rgba(255, 145, 77, 0.1) 100%);
    z-index: 1;
}

.path-node:last-child .node-connector {
    display: none;
}

/* ============================================
   SECTION 2: Workshops & Events
   ============================================ */

.workshops-section {
    padding: 120px 0;
    background: #000;
}

.workshops-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-header-left {
    margin-bottom: 60px;
    text-align: left;
}

.section-header-left h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header-left p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
}

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.workshop-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 145, 77, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    gap: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.workshop-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.workshop-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 145, 77, 0.3);
    box-shadow: 0 20px 60px rgba(255, 145, 77, 0.15);
}

.workshop-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.2) 0%, rgba(255, 145, 77, 0.05) 100%);
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 12px;
}

.date-day {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-orange);
    line-height: 1;
}

.date-month {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.workshop-content {
    flex: 1;
}

.workshop-type {
    display: inline-block;
    background: rgba(255, 145, 77, 0.1);
    color: var(--brand-orange);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.workshop-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-main);
}

.workshop-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.workshop-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.workshop-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.workshop-meta i {
    width: 16px;
    height: 16px;
    color: var(--brand-orange);
}

.btn-workshop {
    background: rgba(255, 145, 77, 0.1);
    color: var(--brand-orange);
    border: 1px solid rgba(255, 145, 77, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-workshop:hover {
    background: var(--brand-orange);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 145, 77, 0.3);
}

/* ============================================
   SECTION 3: Success Stories
   ============================================ */

.success-stories-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: linear-gradient(180deg, #000 0%, rgba(255, 145, 77, 0.02) 50%, #000 100%);
}

.parallax-bg-stories {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 145, 77, 0.06) 0%, transparent 50%);
    will-change: transform;
    animation: parallax-drift 25s ease-in-out infinite alternate;
}

@keyframes parallax-drift {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(-20px, 20px) rotate(2deg);
    }
}

.stories-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.story-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 145, 77, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.95);
}

.story-card.visible {
    opacity: 1;
    transform: scale(1);
}

.story-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 145, 77, 0.3);
    box-shadow: 0 20px 60px rgba(255, 145, 77, 0.15);
}

.story-stats {
    margin-bottom: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-orange);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.story-avatar {
    margin-bottom: 16px;
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    border: 2px solid rgba(255, 145, 77, 0.3);
}

.story-content h4 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--text-main);
}

.story-role {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.story-quote {
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.6;
    border-left: 3px solid var(--brand-orange);
    padding-left: 16px;
}

/* ============================================
   SECTION 4: Knowledge Library Redesign v3 (Symmetric 3D)
   ============================================ */

.resources-section-v3 {
    width: 100% !important;
    max-width: none !important;
    /* Break out of 1200px main-content constraint */
    padding: 120px 0;
    background: #000;
    position: relative;
    overflow: hidden;
}

.resources-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-tag-v3 {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.resources-grid-v3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
    perspective: 2000px;
}

/* 3D Card Base */
.card-v3 {
    min-height: 320px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    display: flex;
}

.card-v3-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform-style: preserve-3d;
}

.card-v3-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 0;
    filter: brightness(0.4) saturate(0.8);
}

.card-v3:hover .card-v3-bg {
    transform: scale(1.1);
    filter: brightness(0.6) saturate(1.2);
}

.card-v3-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.overlay-orange {
    background: linear-gradient(135deg, #FF914D 0%, transparent 100%);
}

.overlay-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, transparent 100%);
}

.overlay-blue {
    background: linear-gradient(135deg, #3b82f6 0%, transparent 100%);
}

.overlay-teal {
    background: linear-gradient(135deg, #0ea5e9 0%, transparent 100%);
}

.overlay-red {
    background: linear-gradient(135deg, #ef4444 0%, transparent 100%);
}

.overlay-gold {
    background: linear-gradient(135deg, #f59e0b 0%, transparent 100%);
}

.card-v3:hover .card-v3-overlay {
    opacity: 0.8;
}

.card-v3-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: translateZ(40px);
    /* Lift content in 3D */
}

.category-pill {
    position: absolute;
    top: 20px;
    left: 28px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.icon-v3 {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: all 0.4s ease;
}

.icon-v3 i {
    width: 24px;
    height: 24px;
    color: #fff;
}

.card-v3:hover .icon-v3 {
    background: var(--brand-orange);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(255, 145, 77, 0.4);
}

.card-v3:hover .icon-v3 i {
    color: #fff;
}

.card-v3 h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.card-v3 p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn-v3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-v3 i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-v3:hover i {
    transform: translateX(5px);
}

/* ============================================
   SECTION 5: Community & Networking
   ============================================ */

.community-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: #000;
}

.parallax-bg-community {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 145, 77, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    will-change: transform;
    animation: parallax-pulse 15s ease-in-out infinite;
}

@keyframes parallax-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.community-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.community-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.community-left h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.community-left>p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

.community-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.community-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon-circle {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.2) 0%, rgba(255, 145, 77, 0.05) 100%);
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.community-feature:hover .feature-icon-circle {
    background: var(--brand-orange);
    transform: scale(1.1);
}

.feature-icon-circle i {
    width: 24px;
    height: 24px;
    color: var(--brand-orange);
    transition: all 0.3s ease;
}

.community-feature:hover .feature-icon-circle i {
    color: #000;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-main);
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.community-stats-visual {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.stat-bubble {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 145, 77, 0.2);
    border-radius: 20px;
    padding: 32px 48px;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: scale(0.8);
    animation: bubble-pop 0.6s ease forwards;
    animation-delay: var(--delay);
}

@keyframes bubble-pop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    70% {
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-bubble:hover {
    transform: scale(1.05);
    border-color: var(--brand-orange);
    box-shadow: 0 10px 40px rgba(255, 145, 77, 0.2);
}

.bubble-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--brand-orange);
    line-height: 1;
    margin-bottom: 8px;
}

.bubble-label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SECTION 6: CTA Section
   ============================================ */

.grothh-cta-section {
    position: relative;
    padding: 120px 0 100px;
    /* slightly reduced section padding */
    background: #000;
}

.grothh-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 145, 77, 0.15) 0%, transparent 70%);
}

.grothh-cta-container {
    max-width: 1100px;
    /* ← wider container */
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

.grothh-cta-content {
    position: relative;
    background: rgba(30, 30, 30, 0.5);
    border: 1px solid rgba(255, 145, 77, 0.2);
    border-radius: 24px;
    padding: 50px 60px;
    /* ← decreased vertical padding (was 70px) */
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    max-width: 100%;
    /* fills wider container */
}

/* Background image INSIDE the card only */
.cta-card-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=2000&q=85');
    background-size: cover;
    background-position: center 30%;
    z-index: 1;
}

/* Dark overlay INSIDE the card only */
.cta-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.82) 50%,
            rgba(0, 0, 0, 0.92) 100%);
    z-index: 2;
}

/* All content stays above image & overlay */
.cta-card-inner {
    position: relative;
    z-index: 3;
    text-align: center;
}

.grothh-cta-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.grothh-cta-content>p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    align-items: center;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-muted);
}

.benefit-item i {
    width: 20px;
    height: 20px;
    color: var(--brand-orange);
}

.cta-actions-grothh {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

[data-scroll-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-scroll-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-scroll-reveal]:nth-child(1).visible {
    transition-delay: 0s;
}

[data-scroll-reveal]:nth-child(2).visible {
    transition-delay: 0.1s;
}

[data-scroll-reveal]:nth-child(3).visible {
    transition-delay: 0.2s;
}

[data-scroll-reveal]:nth-child(4).visible {
    transition-delay: 0.3s;
}

[data-scroll-reveal]:nth-child(5).visible {
    transition-delay: 0.4s;
}


.btn-cta-primary {
    background: linear-gradient(135deg, #ff914d, #ff7a2f);
    color: #000;
    border: none;
    padding: 14px 34px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    box-shadow:
        0 0 0 1px rgba(255, 145, 77, 0.5),
        0 10px 30px rgba(255, 145, 77, 0.35);
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow:
        0 0 0 1px rgba(255, 145, 77, 0.8),
        0 16px 40px rgba(255, 145, 77, 0.55);
}

.btn-cta-primary:active {
    transform: scale(0.97);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border: 1px solid rgba(255, 145, 77, 0.35);
    padding: 14px 34px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: rgba(255, 145, 77, 0.15);
    color: var(--brand-orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 145, 77, 0.25);
}

.btn-cta-secondary:active {
    transform: scale(0.97);
}

/* ============================================
   CONSOLIDATED RESPONSIVE DESIGN
   ============================================ */

/* Tablet Optimization (max-width: 1024px) */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .main-card {
        grid-column: span 2;
    }

    .learning-path-visual {
        flex-wrap: wrap;
        gap: 60px;
        justify-content: center;
    }

    .path-node {
        flex: 0 1 40%;
    }

    .node-connector {
        display: none;
    }

    .community-content-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .resources-grid-v3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .resources-container {
        padding: 0 30px;
    }

    .hero-titan-container {
        padding: 0 30px;
    }
}

/* Mobile Optimization (max-width: 768px) */
@media (max-width: 768px) {

    /* Global Section Spacing */
    .media-showcase-section,
    .learning-path-section,
    .workshops-section,
    .success-stories-section,
    .resources-section-v3,
    .community-section,
    .grothh-cta-section {
        padding: 60px 0;
    }

    .section-header-center h2,
    .section-header-left h2,
    .community-left h2,
    .grothh-cta-content h2 {
        font-size: 2rem;
    }

    .hero-bento {
        padding: 40px 0 60px 0;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .main-card h1 {
        font-size: 2rem;
    }

    .bento-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn-glow,
    .btn-outline {
        width: 100%;
        text-align: center;
    }

    /* Learning Path Vertical */
    .learning-path-visual {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .path-node {
        flex: 1 1 100%;
        max-width: 280px;
    }

    /* Workshops */
    .workshops-grid {
        grid-template-columns: 1fr;
    }

    .workshop-card {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }

    .workshop-date {
        width: 10%;
    }

    /* Knowledge Library v3 Mobile */
    .resources-grid-v3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-v3 {
        min-height: 280px;
    }

    .card-v3-content {
        padding: 24px;
    }

    .card-v3 h3 {
        font-size: 1.3rem;
    }

    .resources-container {
        padding: 0 20px;
    }

    /* Community & Stats */
    .community-left {
        text-align: center;
    }

    .community-feature {
        text-align: left;
    }

    .community-stats-visual {
        margin-top: 40px;
    }

    .stat-bubble {
        padding: 24px 30px;
        width: 100%;
    }

    .bubble-number {
        font-size: 2.5rem;
    }

    /* CTA Section */
    .grothh-cta-content {
        padding: 40px 24px;
        border-radius: 20px;
    }

    /* Fix hidden/overflowing benefits on mobile */
    .cta-benefits.cta-benefits-split {
        flex-direction: column;
        gap: 12px;
    }

    .cta-benefits-col {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        padding-left: 10px;
        gap: 12px;
    }

    .cta-benefits-col .benefit-item {
        justify-content: flex-start;
        text-align: left;
        width: 100%;
        min-width: 0;
        margin-top: 0;
    }
}

.resources-section .section-header-center h2 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 12px;
}

/* Force duration text to stay in one line */
.workshop-meta span {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ============================================
   SECTION 1: Titan 3D Hero
   ============================================ */

.hero-titan {
    min-height: 85vh;
    padding: 100px 0;
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.shadow-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(8rem, 25vw, 35rem);
    /* Significantly reduced zoom for a more integrated look */
    font-weight: 1000;
    color: #fff;
    opacity: 0.08;
    letter-spacing: -0.04em;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    z-index: 2;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
    animation: shadow-txt-pulse 12s ease-in-out infinite;
    filter: none;
    /* Removed blur for maximum clarity at this scale */
}

@keyframes shadow-txt-pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.02;
    }

    50% {
        transform: translate(-50%, -48%) scale(1.05);
        opacity: 0.04;
    }
}

.titan-title {
    font-size: clamp(4rem, 15vw, 11rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 24px;
    position: relative;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.titan-title .highlight-orange {
    color: var(--brand-orange);
    text-shadow: 0 0 30px rgba(255, 145, 77, 0.3);
}

.hero-titan:hover .titan-title {
    transform: translateY(-8px) scale(1.02);
}



.hero-titan-container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 3;
}

.hero-titan-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.titan-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--brand-orange);
    margin-bottom: 40px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--brand-orange);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-orange);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.titan-subtext {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 50px;
}

.titan-actions {
    display: flex;
    gap: 20px;
}

.btn-titan-primary {
    background: var(--brand-orange);
    color: #000;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 145, 77, 0.3);
    position: relative;
    z-index: 10;
    white-space: nowrap;
}

.btn-titan-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 145, 77, 0.5);
    background: #fff;
}

.btn-titan-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-titan-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.aurora-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%,
            rgba(255, 145, 77, 0.15) 0%,
            rgba(139, 92, 246, 0.08) 25%,
            transparent 50%);
    animation: aurora-spin 30s linear infinite;
    opacity: 0.6;
    z-index: 1;
}

@keyframes aurora-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Titan Final Components */
.titan-stats-row {
    display: flex;
    gap: 60px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 20px;
}

.t-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.t-val {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.t-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.t-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    align-self: center;
}

/* 3D Interaction Logic */
.hero-titan:hover .text-3d {
    text-shadow:
        0 1px 0 #ff914d,
        0 2px 0 #ff914d,
        0 3px 0 #ff914d,
        0 10px 20px rgba(0, 0, 0, 0.4),
        0 30px 60px rgba(255, 145, 77, 0.4);
    transform: translateZ(60px) translateY(-10px);
}

/* Final Hero Responsiveness */
@media (max-width: 1024px) {
    .titan-stats-row {
        gap: 40px;
    }

    .titan-title {
        font-size: 11vw;
    }

    .shadow-text {
        font-size: 30vw;
    }
}

@media (max-width: 768px) {
    .hero-titan {
        min-height: auto;
        padding: 80px 0;
    }

    .titan-badge {
        margin-bottom: 30px;
    }

    .titan-title {
        font-size: 15vw;
    }

    .titan-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-titan-primary,
    .btn-titan-secondary {
        width: 100%;
        justify-content: center;
    }

    .titan-stats-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        padding-top: 30px;
    }

    .t-val {
        font-size: 1.8rem;
    }

    .t-divider {
        display: none;
    }

    .shadow-text {
        font-size: 20vw;
    }

    .titan-subtext {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
}

/* Optional - make columns look balanced and centered */
@media (min-width: 701px) {
    .cta-benefits.cta-benefits-split {
        gap: 0px;
        /* space between the two columns */
        justify-content: center;
    }

    .cta-benefits-col {
        min-width: 220px;
        /* prevents columns from becoming too narrow */
        text-align: left;
    }

    .benefit-item {
        justify-content: flex-start;
        padding: 8px 0;
    }
}

/* Content from styles.css for Grothh Grid */
.grothh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.learning-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.learning-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 145, 77, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.learning-card:hover {
    transform: translateY(-12px) rotateX(4deg) rotateY(-2deg);
    border-color: rgba(255, 145, 77, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 145, 77, 0.15);
}

.track-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.learning-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.15) 0%, rgba(255, 145, 77, 0.05) 100%);
    border: 1px solid rgba(255, 145, 77, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-orange);
    transition: all 0.4s ease;
}

.learning-card:hover .learning-icon {
    transform: scale(1.1) translateZ(20px);
    background: var(--brand-orange);
    color: #000;
    box-shadow: 0 0 25px rgba(255, 145, 77, 0.4);
}

.track-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.learning-card h3 {
    margin-bottom: 16px;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.learning-card:hover h3 {
    transform: translateZ(15px);
}

.learning-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.progress-bar-bg {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-orange), #ffb285);
    box-shadow: 0 0 15px rgba(255, 145, 77, 0.5);
    border-radius: 100px;
}

.track-link {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: fit-content;
    padding: 10px 0;
    position: relative;
    z-index: 1;
}

.track-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-orange);
    transition: width 0.3s ease;
}

.learning-card:hover .track-link {
    color: var(--brand-orange);
}

.learning-card:hover .track-link::after {
    width: 100%;
}

@media (max-width: 900px) {
    .grothh-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .learning-card {
        padding: 24px;
    }
}

/* ============================================
   SECTION: YouTube Media Showcase
   ============================================ */

.media-showcase-section {
    padding: 120px 0;
    background: #000;
    position: relative;
    overflow: hidden;
}

.media-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Marquee Redesign */
.media-marquee-wrapper {
    position: relative;
    width: 100%;
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.marquee-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
}

.short-card {
    flex: 0 0 240px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.short-card:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: var(--brand-orange);
    box-shadow: 0 10px 30px rgba(255, 145, 77, 0.2);
}

.short-aspect-ratio {
    position: relative;
    padding-bottom: 177.78%;
    /* 9:16 */
    height: 0;
}

.short-aspect-ratio img,
.short-aspect-ratio video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.short-aspect-ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
    /* Allow card clicks */
}

.short-preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.short-card:hover .short-preview-overlay {
    opacity: 1;
}

.short-preview-overlay i {
    color: #fff;
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 10px rgba(255, 145, 77, 0.5));
}

.marquee-nav {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.marquee-nav:hover {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: #000;
}

/* Video Lightbox */
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-lightbox.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    width: auto;
    /* Allow width to be determined by height/aspect-ratio */
    height: auto;
    max-width: 90vw;
    max-height: 85vh;
    /* Prevent vertical overflow */
    aspect-ratio: 9/16;
    z-index: 1;
    animation: lightbox-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lightbox-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
}

.lightbox-close:hover {
    background: var(--brand-orange);
    color: #000;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 145, 77, 0.4);
}

.lightbox-close i {
    width: 24px;
    height: 24px;
}

.lightbox-video-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: #000;
}

.lightbox-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-video-wrapper iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .media-marquee-wrapper {
        padding: 0 10px;
    }

    .short-card {
        flex: 0 0 180px;
    }

    .media-marquee-wrapper {
        margin-bottom: 100px;
        /* Make space for the arrows below */
        position: relative;
    }

    .marquee-nav {
        display: flex !important;
        /* Always visible on mobile */
        position: absolute;
        bottom: -80px;
        /* Adjusted to fit within the new margin */
        top: auto;
        transform: none;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.2);
        z-index: 20;
        width: 35px;
        height: 35px;
        backdrop-filter: blur(5px);
    }

    .marquee-nav i {
        width: 24px;
        height: 24px;
        color: #fff;
    }

    .marquee-nav:hover,
    .marquee-nav:active {
        background: var(--brand-orange) !important;
        color: #000 !important;
        border-color: var(--brand-orange);
    }

    .marquee-nav i {
        color: inherit;
    }

    .marquee-nav.prev {
        left: 40%;
        transform: translateX(-50%);
    }

    .marquee-nav.next {
        right: 40%;
        left: auto;
        transform: translateX(50%);
    }
}

/* Responsive Media Section */
@media (max-width: 1024px) {
    .media-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .media-container {
        padding: 0 20px;
    }

    .video-info h3 {
        font-size: 1.5rem;
    }

    .shorts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .shorts-grid {
        grid-template-columns: 1fr;
    }

    .short-aspect-ratio {
        padding-bottom: 177.78%;
        /* Keep 9:16 vertical on mobile */
    }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE DESIGN - ALL SECTIONS
   ============================================ */




/* Mobile - 480px */
@media (max-width: 480px) {

    /* General Sections */
    .media-showcase-section,
    .learning-path-section,
    .workshops-section,
    .resources-section-v3,
    .community-section {
        padding: 40px 0;
    }

    .path-container,
    .workshops-container,
    .resources-container,
    .community-container,
    .media-container {
        padding: 0 16px;
    }

    /* Section Headers */
    .section-header-left h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .section-header-left p {
        font-size: 0.9rem;
    }

    .section-tag,
    .section-tag-v3 {
        font-size: 0.65rem;
        padding: 5px 14px;
    }

    /* Hero Titan */
    .hero-titan {
        padding: 60px 0;
    }

    .hero-titan-container {
        padding: 0 16px;
    }

    .titan-title {
        font-size: 18vw;
    }

    .titan-subtext {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .btn-titan-primary,
    .btn-titan-secondary {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    /* Learning Path */
    .node-circle {
        width: 60px;
        height: 60px;
    }

    .node-circle i {
        width: 24px;
        height: 24px;
    }

    .node-content h4 {
        font-size: 1rem;
    }

    .node-content p {
        font-size: 0.8rem;
        max-width: 100%;
    }

    /* Workshops */
    .workshop-card {
        padding: 20px;
    }

    .workshop-content h3 {
        font-size: 1.2rem;
    }

    .workshop-meta {
        flex-direction: column;
        gap: 10px;
    }

    /* Resources Cards */
    .card-v3 {
        min-height: 260px;
    }

    .card-v3-content {
        padding: 20px;
    }

    .category-pill {
        top: 16px;
        left: 20px;
        font-size: 0.6rem;
        padding: 4px 10px;
    }

    .icon-v3 {
        width: 45px;
        height: 45px;
        margin-bottom: 16px;
    }

    .icon-v3 i {
        width: 20px;
        height: 20px;
    }

    .card-v3 h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .card-v3 p {
        font-size: 0.8rem;
        margin-bottom: 16px;
    }

    .btn-v3 {
        font-size: 0.8rem;
        gap: 6px;
    }

    /* Video Section */
    .video-info {
        padding: 16px;
    }

    .video-info h3 {
        font-size: 1.1rem;
    }

    .video-info p {
        font-size: 0.85rem;
    }

    .video-label {
        font-size: 0.7rem;
    }

    /* Community Features */
    .community-features {
        gap: 20px;
    }

    .feature-text h4 {
        font-size: 1rem;
    }

    .feature-text p {
        font-size: 0.85rem;
    }

    .feature-icon-circle {
        width: 45px;
        height: 45px;
    }
}

/* Extra Small Mobile - 375px */
@media (max-width: 375px) {
    .section-header-left h2 {
        font-size: 1.5rem;
    }

    .titan-title {
        font-size: 20vw;
    }

    .card-v3 {
        min-height: 240px;
    }

    .card-v3 h3 {
        font-size: 1.1rem;
    }

    .btn-titan-primary,
    .btn-titan-secondary {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 896px) and (orientation: landscape) {
    .hero-titan {
        min-height: auto;
        padding: 40px 0;
    }

    .titan-stats-row {
        gap: 20px;
    }

    .learning-path-visual {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 20px;
    }

    .path-node {
        flex: 0 0 auto;
        min-width: 200px;
    }
}