:root {
    --primary-green: #10b981;
    --dark-green: #059669;
    --light-green: #d1fae5;
    --white: #ffffff;
    --off-white: #f9fafb;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--dark-green);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-green) 100%);
    padding: 6rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.highlight {
    color: var(--primary-green);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background-color: var(--light-green);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.page-header {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-green) 100%);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-green);
}

.card-icon {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.card-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: var(--dark-green);
}

/* Bio Page */
.bio-content {
    background-color: var(--off-white);
}

.bio-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.bio-main h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.bio-main h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--primary-green);
}

.bio-main p {
    color: var(--gray-700);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.experience-list {
    list-style: none;
    margin: 1rem 0 1.5rem 0;
    padding: 0;
}

.experience-list li {
    color: var(--gray-700);
    padding: 0.75rem 0 0.75rem 1.5rem;
    position: relative;
    line-height: 1.8;
    border-left: 3px solid var(--light-green);
    margin-bottom: 0.75rem;
}

.experience-list li::before {
    content: '▸';
    position: absolute;
    left: 0.5rem;
    color: var(--primary-green);
    font-weight: 700;
}

.experience-list strong {
    color: var(--gray-900);
}

.bio-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.social-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--gray-700);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.social-item:hover {
    background-color: var(--light-green);
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.social-item svg {
    flex-shrink: 0;
}

/* Videos Page */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.video-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.video-thumbnail {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-card:hover .play-button {
    background-color: var(--primary-green);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.video-title a {
    color: var(--gray-900);
    text-decoration: none;
    transition: color 0.3s ease;
}

.video-title a:hover {
    color: var(--primary-green);
}

.video-description {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-600);
}

.empty-state svg {
    margin-bottom: 1.5rem;
    color: var(--gray-300);
}

.empty-state h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.empty-state p {
    margin-bottom: 2rem;
}

/* Schedule Page */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.schedule-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.schedule-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-green);
}

.schedule-card.featured {
    border-color: var(--primary-green);
    box-shadow: var(--shadow-lg);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-green);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.schedule-icon {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.schedule-card h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.schedule-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.schedule-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.schedule-features li {
    color: var(--gray-700);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.schedule-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
}

.schedule-note {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 1.5rem;
    background-color: var(--light-green);
    border-left: 4px solid var(--primary-green);
    border-radius: 0.5rem;
    display: flex;
    gap: 1rem;
    align-items: start;
}

.schedule-note svg {
    flex-shrink: 0;
    color: var(--primary-green);
}

.schedule-note p {
    color: var(--gray-700);
    margin: 0;
}

/* Footer */
.footer {
    background-color: var(--gray-900);
    color: var(--white);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: var(--primary-green);
    transform: translateY(-2px);
}

.social-btn.linkedin:hover {
    background-color: #0077b5;
}

.social-btn.twitter:hover {
    background-color: #000000;
}

.social-btn.github:hover {
    background-color: #333333;
}

.copyright {
    text-align: center;
    color: var(--gray-300);
    font-size: 0.875rem;
}

/* Blog Styles */
.tag-filter {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 0;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.tag-filter-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tag-filter-toggle:hover {
    background-color: var(--gray-50);
}

.tag-filter-toggle.open {
    background-color: var(--light-green);
}

.tag-filter-toggle svg:first-child {
    color: var(--primary-green);
    flex-shrink: 0;
}

.tag-filter-label {
    font-weight: 600;
    color: var(--gray-700);
    flex-grow: 1;
    text-align: left;
}

.tag-count {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.tag-filter-toggle .chevron {
    color: var(--gray-600);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.tag-filter-toggle.open .chevron {
    transform: rotate(180deg);
}

.tag-filter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.tag-filter-content.open {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.tag-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.tag-filter-btn {
    padding: 0.5rem 1rem;
    background-color: var(--gray-100);
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tag-filter-btn:hover {
    background-color: var(--light-green);
    color: var(--dark-green);
    border-color: var(--primary-green);
}

.tag-filter-btn.active {
    background-color: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
    font-weight: 600;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-green);
}

.blog-card-header {
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.blog-separator {
    color: var(--gray-300);
}

.blog-date,
.blog-read-time {
    color: var(--gray-600);
}

.blog-card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card-title a {
    color: var(--gray-900);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--primary-green);
}

.blog-card-excerpt {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-tag {
    background-color: var(--light-green);
    color: var(--dark-green);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-1px);
}

.blog-read-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.blog-read-more:hover {
    /* Pagination */
    .pagination-section {
        padding: 2rem 0;
        margin-top: 0;
    }

    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }

    .pagination-arrow,
    .pagination-page {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        text-decoration: none;
        font-weight: 500;
        font-size: 1rem;
        transition: all 0.2s ease;
        border: 2px solid #e0e0e0;
        background-color: var(--white);
        color: #666;
    }

    .pagination-arrow:hover:not(.disabled),
    .pagination-page:hover:not(.active) {
        border-color: #4a90e2;
        color: #4a90e2;
        background-color: #f5f9ff;
    }

    .pagination-page.active {
        background-color: #4a90e2;
        border-color: #4a90e2;
        color: var(--white);
        font-weight: 600;
    }

    .pagination-arrow.disabled {
        cursor: not-allowed;
        opacity: 0.4;
    }

    .pagination-arrow svg {
        width: 20px;
        height: 20px;
    }

    @media (max-width: 768px) {
        .pagination {
            gap: 0.375rem;
        }

        .pagination-arrow,
        .pagination-page {
            width: 40px;
            height: 40px;
            font-size: 0.875rem;
        }
    }

/* Blog Post Page */
.blog-post {
    padding-bottom: 0;
}

.blog-post-header {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-green) 100%);
    padding: 4rem 0 3rem;
    border-bottom: 1px solid var(--gray-200);
    margin-top: 0;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--dark-green);
}

.blog-post-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-post-author,
.blog-post-date,
.blog-post-read-time {
    color: var(--gray-600);
}

.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.blog-post-content {
    padding: 3rem 0;
    background-color: var(--white);
}

.blog-post-content h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1rem;
    color: var(--gray-900);
}

.blog-post-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--primary-green);
}

.blog-post-content p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}

.blog-post-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.blog-post-content li {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-size: 1.0625rem;
}

.blog-post-content strong {
    color: var(--gray-900);
    font-weight: 600;
}

.blog-post-content code {
    background-color: var(--gray-100);
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875em;
    color: var(--dark-green);
}

.blog-post-content pre {
    background-color: var(--gray-900);
    color: var(--light-green);
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-post-content pre code {
    background-color: transparent;
    padding: 0;
    color: var(--light-green);
}

.blog-post-footer {
    background-color: var(--off-white);
    padding: 5rem 0 3rem;
    border-top: 1px solid var(--gray-200);
    margin-top: 3rem;
}

.blog-post-cta {
    background: var(--white);
    border: 2px solid var(--primary-green);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
}

.blog-post-cta h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.blog-post-cta p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post-title {
        font-size: 2rem;
    }
    
    .blog-post-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-post-content h3 {
        font-size: 1.25rem;
    }
    
    .blog-post-cta {
        padding: 2rem 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .bio-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        position: static;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .bio-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .cards {
        grid-template-columns: 1fr;
    }
}
