/*
    Author: Amey Thakur
    GitHub: https://github.com/Amey-Thakur
    Repository: https://github.com/Amey-Thakur/WEB-DESIGNING-LAB
    Description: CSS for Experiment 10 (Theory Showcase)
    Layout: Design system using CSS Variables, Grid, and Flexbox for responsive presentation.
*/

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --accent-color: #ff0000;
    --success-color: #28a745;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-color: #212529;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    padding-bottom: 50px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles: Thematic branding for the experiment */
.main-header {
    text-align: center;
    padding: 60px 0 40px;
}

.main-header h1 {
    color: #002dff;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.main-header h2 {
    color: var(--accent-color);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Student Info Table: Stylized academic metadata table */
.student-info {
    margin-bottom: 40px;
}

.id-table {
    width: 100%;
    background: var(--card-bg);
    border-collapse: collapse;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.id-table th,
.id-table td {
    padding: 18px 25px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.id-table th {
    background-color: #f1f4f8;
    color: var(--primary-color);
    font-weight: 600;
    width: 20%;
}

/* Section Cards: Container system for grouping theoretical concepts */
.section-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

.section-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
}

/* Framework Grid: Grid-based showcase for framework items */
.framework-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.framework-item {
    background: #fbfcfe;
    border: 1px solid #eef2f7;
    padding: 25px;
    border-radius: 10px;
    transition: var(--transition);
}

.framework-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.framework-item h4 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.framework-item .badge {
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 10px;
}

.framework-item p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
}

.meta-info {
    font-size: 0.85rem;
    color: #888;
}

/* Process Flow: Custom vertical timeline/list for workflow visualization */
.process-flow {
    list-style: none;
    padding-left: 30px;
    position: relative;
}

.process-flow::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: #dde4ee;
}

.process-item {
    position: relative;
    padding-bottom: 30px;
}

.process-item::after {
    content: '';
    position: absolute;
    left: -24px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
}

/* Benefits List: Simple icon-based list for key advantages */
.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.benefits-list li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    margin-right: 15px;
}

/* Page Footer styling */
.main-footer {
    text-align: center;
    padding: 40px 0;
    color: var(--accent-color);
    font-weight: 600;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

/* Responsive adjustments for mobile viewports */
@media (max-width: 768px) {
    .framework-grid {
        grid-template-columns: 1fr;
    }

    .id-table th {
        width: 35%;
    }
}