/* Video Library Block */

.video-library-container{
    display: flex;
    flex-direction: row;
    gap: 40px;
    padding: 40px 0;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

.video-library-index {
    flex: 1 1 320px;
    max-width: 340px;
    min-width: 220px;
    align-self: flex-start;
    position: sticky;
    top: 40px;
    padding: 0 12px 0 0;
}

.video-library-index h4 {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.video-library-index ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.video-library-index li {
    margin: 0;
}

.video-library-index a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 16px;
    line-height: 1.45;
    transition: all 0.2s ease;
    position: relative;
}

.video-library-index a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 2px;
    border-radius: 2px;
    background: transparent;
    transition: background 0.2s ease;
}

.video-library-index a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.video-library-index a:hover::before {
    background: rgba(255, 255, 255, 0.4);
}

.video-library-index a.active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.video-library-index a.active::before {
    background: #ffffff;
}

.video-library-index li:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.video-library-grid {
    flex: 2 1 700px;
    max-width: 900px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 0 24px;
    margin: 0 auto;
}

.video-card {
    padding: 56px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.video-card:first-child {
    border-top: none;
}

.video-card-inner {
    display: flex;
    flex-direction: row;
    gap: 64px;
    align-items: center;
}

.video-card-inner.reverse-row {
    flex-direction: row-reverse;
}

.video-card-info {
    flex: 1 1 180px;
    min-width: 0;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video-card-info h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0;
}

.video-card-info p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    line-height: 1.75;
    margin: 0;
}

.video-card-media {
    flex: 2 1 0;
    min-width: 0;
}

.video-card-media iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    border: none;
    background: #000;
    display: block;
}

@media (max-width: 700px) {
    .video-library-grid {
        padding: 0;
    }

    .video-card {
        padding: 32px 0;
    }

    .video-card-inner,
    .video-card-inner.reverse-row {
        flex-direction: column !important;
        gap: 16px;
    }

    .video-card-info {
        max-width: 100%;
        gap: 10px;
    }

    .video-card-info h3 {
        font-size: 22px;
    }

    .video-card-info p {
        font-size: 13px;
    }
}

@media (max-width: 1100px) {
    .video-library-container {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .video-library-index {
        position: static;
        max-width: 100%;
        width: 100%;
        margin-bottom: 24px;
        padding: 0;
    }

    .video-library-index ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .video-library-index li {
        border-bottom: none;
    }

    .video-library-index a {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 20px;
        padding: 8px 12px;
        font-size: 14px;
        -webkit-line-clamp: 1;
    }

    .video-library-index a::before {
        display: none;
    }

    .video-library-grid {
        max-width: 100%;
        padding: 0 8px;
    }
}
/* Gradient Header Block Styles */
.gradient-header {
    background: linear-gradient(135deg, rgba(46, 195, 150, 0.15), rgba(96, 149, 190, 0.15)), linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    background-attachment: fixed;
    padding: 50px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gradient-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(46, 195, 150, 0.1), transparent 50%), radial-gradient(circle at 80% 80%, rgba(96, 149, 190, 0.1), transparent 50%);
    pointer-events: none;
}

.gradient-header .header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.gradient-header h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 16px 0;
    letter-spacing: -1px;
}

.gradient-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.header-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.gradient-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color-gradient);
    color: #FFF;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.gradient-header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 195, 150, 0.3);
}

.gradient-header-btn-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.gradient-header-btn-outline:hover {
    background: var(--accent-color-gradient);
    color: #FFF;
    border-color: var(--accent-color);
}

/* Homepage Hero */

.hero-section {
    padding: 0;
    background: 
        linear-gradient(to bottom, transparent 0%, transparent 100%),
        radial-gradient(circle at 1px 1px, rgba(96,149,190,0.15) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.hero-section-bg {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 1;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(96,149,190,0.28) 0%, rgba(96,149,190,0.12) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    box-shadow: 0 0 100px rgba(96,149,190,0.3), 0 0 200px rgba(96,149,190,0.15);
    z-index: 0;
    animation: float-blob 18s ease-in-out infinite;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(46,195,150,0.25) 0%, rgba(46,195,150,0.1) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    box-shadow: 0 0 100px rgba(46,195,150,0.25), 0 0 200px rgba(46,195,150,0.12);
    z-index: 0;
    animation: float-blob-reverse 22s ease-in-out infinite;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 70px 20px;
    z-index: 10;
}

.hero {
    z-index: 2;
    max-width: 680px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(96,149,190,0.35), rgba(46,195,150,0.28));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(40px);
    animation: morph-shape 8s ease-in-out infinite;
    z-index: -1;
}

.hero-image {
    display: none;
}

.hero-title{
    font-size: 2rem
}

.hero h1 {
    font-size: 48px;
    line-height: 1.1;
    margin: 0 0 16px;
    font-weight: 800;
    color: var(--text);
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.hero h2 {
    font-size: 20px;
    margin: 0 0 20px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.3px;
}

.hero p {
    font-size: 24px;
    max-width: 680px;
    color: #d7e3e7;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(46,195,150,0.9), rgba(96,149,190,0.85));
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    border: none;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(46,195,150,0.2), 0 0 40px rgba(96,149,190,0.15);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

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

.hero-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-btn:hover {
    background: linear-gradient(90deg, rgba(46,195,150,1), rgba(96,149,190,0.95));
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(46,195,150,0.25), 0 0 50px rgba(96,149,190,0.25);
}

.hero-badge {
    display: inline-block;
    background: rgba(46, 195, 150, 0.15);
    border: 1px solid rgba(46, 195, 150, 0.3);
    color: rgba(46, 195, 150, 0.95);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    max-width: 600px;
    margin: 0 auto 32px !important;
    line-height: 1.7 !important;
}

.hero-btn.large {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.hero-btn.secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text);
    box-shadow: none;
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}