input, select, textarea, button {
    font-family: inherit;
}


    :root {
    --primary-color: #2c5530;
    --secondary-color: #6b8e23;
    --accent-color: #d4af37;
    --light-bg: #f8f9fa;
    --dark-text: #333;
    --light-text: #fff;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --dark-color: var(--primary-color);
    }
    
    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    
    body {
        font-family: 'Noto Sans Sinhala', Arial, sans-serif;
        /* font-family: 'Abhaya Libre', sans-serif; */
        line-height: 1.4;
        color: #333;
        background-color: #f9f9f9;
    }
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }
    
    header {
        background: linear-gradient(135deg, #2c5c3f 0%, #4a7c59 100%);
        color: white;
        padding: 2rem 1rem;
        margin-bottom: 2rem;
        text-align: center;
        border-bottom: 5px solid #d4af37;
    }
    
    header h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin: 0;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }
    
    .card-container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem; 
        padding: 1rem;
    }
    
    .card {
        background: white;
        border-radius: 10px;
        padding: 1.5rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border-left: 4px solid #4a7c59;
    }
    
    .card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }
    
    .card h2 {
        color: #2c5c3f;
        font-size: 1.3rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .card-link {
        display: flex;
        align-items: center;
        color: #2c5c3f;
        text-decoration: none;
        cursor: pointer;
        padding: 0.5rem 0;
        transition: all 0.3s ease;
        width: 100%;
        background: none;
        border: none;
        font-family: inherit;
        font-size: inherit;
        text-align: left;
    }
    
    .card-link:hover {
        color: #d4af37;
    }
    /*
    .card-link::before {
        content: "📿 ";
        margin-right: 10px;
        font-size: 1.2em;
    }
    */
    .card-link::before {
        content: "+ ";
        margin-right: 10px;
        font-size: 1.2em;
    }

    /*
    .card-link.collapsed::before {
        content: "📿 ";
    }
*/

    .card-link.collapsed::before {
        content: "+ ";
    }
    
    /*
    .card-link.expanded::before {
        content: "🔽 ";
    }
    */

    .card-link.expanded::before {
        content: "- ";
    }

    .card-content {
        padding: 1rem 0;
        overflow: hidden;
    }
    
    .collapse-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-out, opacity 0.3s ease;
        opacity: 0;
    }
    
    .collapse-content.active {
        max-height: 5000px; /* Large enough to fit content */
        opacity: 1;
        transition: max-height 0.5s ease-in, opacity 0.5s ease 0.2s;
    }
    
    .video-container {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        margin: 1rem 0;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
    
    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }
    
    .resources {
        background: #f8f9fa;
        padding: 1rem;
        border-radius: 5px;
        margin: 1rem 0;
        border-left: 3px solid #d4af37;
    }
    
    .resources h3 {
        color: #2c5c3f;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }
    
    .resource-link {
        display: inline-flex;
        align-items: center;
        background: #4a7c59;
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        text-decoration: none;
        margin: 0.3rem 0.3rem 0.3rem 0;
        transition: background 0.3s ease;
    }
    
    .resource-link:hover {
        background: #2c5c3f;
    }
    
    .resource-link::before {
        content: "📄 ";
        margin-right: 5px;
    }
    
    .zoom-info {
        background: #e8f4ff;
        padding: 1rem;
        border-radius: 5px;
        margin: 1rem 0;
        border-left: 3px solid #2d8cff;
        color: #000;
    }

    .date-badge {
        display: inline-block;
        background: #d4af37;
        /* color: #2c5c3f; */
        color: var(--primary-color);
        padding: 0.3rem 0.8rem;
        border-radius: 20px;
        font-size: 1.1rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
    }
    
    /* Responsive */
    @media (max-width: 768px) {
        .card-container {
            padding: 0.5rem;
        }
        
        header h1 {
            font-size: 2rem;
        }
        
        .card {
            padding: 1rem;
        }
        
        .card h2 {
            font-size: 1.1rem;
        }
    }
    
    @media (max-width: 480px) {
        .container {
            padding: 10px;
        }
        
        header h1 {
            font-size: 1.5rem;
        }
        
        .card-link::before {
            margin-right: 5px;
        }
    }
