/* ========================================
   FIXED STYLES.CSS - MOBILE FIRST
   ======================================== */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --model-resource: #8e44ad;
    --model-product: #16a085;
    --model-goal: #c0392b;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    background-color: #f5f7fa;
    color: #333;
    padding: 5px;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    direction: rtl;
}

.container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    overflow-x: hidden;
}

/* ========================================
   HEADER STYLES - MOBILE FIRST
   ======================================== */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: white;
    padding: 20px 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.header h1 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    position: relative;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.header h2 {
    font-size: 0.85rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 15px;
    position: relative;
    line-height: 1.5;
    word-wrap: break-word;
}

.week-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    display: inline-block;
    margin-top: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    position: relative;
}

.badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ========================================
   CONTENT STYLES - MOBILE
   ======================================== */
.content {
    padding: 10px 8px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.section {
    margin-bottom: 15px;
    padding: 15px 10px;
    background: #f8fafc;
    border-radius: 12px;
    border-right: 4px solid var(--secondary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.section:hover {
    transform: translateY(-2px);
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(52, 152, 219, 0.2);
    flex-wrap: wrap;
    word-wrap: break-word;
    line-height: 1.4;
}

.section-title i {
    color: var(--secondary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ========================================
   LEARNING OBJECTIVES - MOBILE
   ======================================== */
.learning-objectives {
    background: #e8f4fc;
    padding: 15px 12px;
    border-radius: 10px;
    margin-bottom: 18px;
    border-right: 4px solid var(--secondary-color);
    width: 100%;
    max-width: 100%;
}

.learning-objectives h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.objectives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.objectives-list li {
    margin-bottom: 8px;
    padding-right: 25px;
    position: relative;
    font-size: 0.85rem;
    line-height: 1.6;
    word-wrap: break-word;
}

.objectives-list li::before {
    content: "✓";
    color: var(--success-color);
    font-weight: bold;
    position: absolute;
    right: 8px;
    font-size: 0.85rem;
}

/* ========================================
   CONCEPT BOXES - MOBILE
   ======================================== */
.concept-box {
    background: white;
    padding: 12px 10px;
    border-radius: 10px;
    margin: 12px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--secondary-color);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.concept-title {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    word-wrap: break-word;
}

.concept-box p, .concept-box li {
    font-size: 0.85rem;
    line-height: 1.7;
    word-wrap: break-word;
}

.concept-box ul {
    padding-right: 20px;
    margin: 8px 0;
}

/* ========================================
   DEFINITION BOXES - MOBILE
   ======================================== */
.definition-box {
    background: #fff3e0;
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
    border-right: 3px solid #ff9800;
    font-size: 0.85rem;
    line-height: 1.7;
    word-wrap: break-word;
    width: 100%;
    max-width: 100%;
}

.definition-box ul {
    padding-right: 20px;
    margin: 8px 0;
}

.definition-box p {
    margin-bottom: 8px;
}

.important-definition {
    background: #e1f5fe;
    padding: 12px;
    border-radius: 8px;
    margin: 10px 0;
    border-right: 3px solid #0288d1;
    font-weight: bold;
    font-size: 0.85rem;
    line-height: 1.7;
    word-wrap: break-word;
    width: 100%;
    max-width: 100%;
}

.key-point {
    background: #e8f6ef;
    padding: 10px 12px;
    border-radius: 8px;
    margin: 10px 0;
    border-right: 3px solid var(--success-color);
    font-size: 0.85rem;
    word-wrap: break-word;
}

.key-point ul {
    padding-right: 20px;
    margin: 8px 0;
}

/* ========================================
   EXAMPLE BOXES - MOBILE
   ======================================== */
.example-box {
    background: #fff8e1;
    padding: 10px;
    border-radius: 8px;
    margin: 12px 0;
    border-right: 3px solid var(--warning-color);
    font-size: 0.85rem;
    word-wrap: break-word;
    width: 100%;
    max-width: 100%;
}

.example-title {
    color: #856404;
    margin-bottom: 8px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.example-box ul {
    padding-right: 20px;
    margin: 8px 0;
}

/* ========================================
   TABLES - MOBILE RESPONSIVE
   ======================================== */
.comparison-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    font-size: 0.8rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table thead,
.comparison-table tbody {
    display: table;
    width: 100%;
    min-width: 500px;
}

.comparison-table th {
    background: var(--primary-color);
    color: white;
    padding: 10px 8px;
    text-align: right;
    font-weight: 600;
    font-size: 0.8rem;
    white-space: nowrap;
}

.comparison-table td {
    padding: 8px;
    border: 1px solid #e0e0e0;
    text-align: right;
    line-height: 1.5;
    word-wrap: break-word;
}

.comparison-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* ========================================
   CASE STUDY BOXES - MOBILE
   ======================================== */
.case-study-box {
    background: #e8f5e9;
    padding: 12px 10px;
    border-radius: 10px;
    margin: 15px 0;
    border-right: 4px solid var(--success-color);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.case-title {
    color: #2e7d32;
    margin-bottom: 12px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    word-wrap: break-word;
}

.case-questions {
    background: white;
    padding: 12px;
    border-radius: 8px;
    margin-top: 12px;
    border-right: 3px solid var(--warning-color);
}

.case-questions h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.case-questions ol {
    padding-right: 20px;
    font-size: 0.85rem;
}

.case-questions li {
    margin-bottom: 6px;
    line-height: 1.6;
}

.solution-box {
    background: #e3f2fd;
    padding: 15px 12px;
    border-radius: 10px;
    margin-top: 15px;
    border-right: 4px solid var(--secondary-color);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.solution-title {
    color: #1565c0;
    margin-bottom: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.solution-box h5 {
    font-size: 0.9rem;
    margin: 10px 0 5px 0;
    color: var(--primary-color);
}

.solution-box ul {
    padding-right: 20px;
    margin: 5px 0;
    font-size: 0.85rem;
}

.solution-box p {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

/* ========================================
   STRATEGY BOXES - MOBILE
   ======================================== */
.strategy-box {
    background: white;
    padding: 18px 12px;
    border-radius: 10px;
    margin: 15px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--secondary-color);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.strategy-title {
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.1rem;
}

.step-box {
    background: #f8f9fa;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-right: 3px solid var(--secondary-color);
    width: 100%;
    max-width: 100%;
}

.step-box h4 {
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.step-box p {
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 4px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    margin-left: 6px;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ========================================
   QUOTES - MOBILE
   ======================================== */
.quote {
    background: #f0f7ff;
    padding: 15px 12px;
    border-radius: 8px;
    margin: 12px 0;
    font-style: italic;
    border-right: 4px solid var(--secondary-color);
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.7;
    word-wrap: break-word;
}

.quote-author {
    text-align: left;
    margin-top: 8px;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-style: normal;
}

/* ========================================
   GRID SYSTEMS - MOBILE
   ======================================== */
.info-grid, .assessment-grid, .learning-outcomes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
    width: 100%;
}

.info-card, .assessment-item, .outcome-card {
    background: white;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--secondary-color);
    width: 100%;
    max-width: 100%;
}

.info-card h3, .outcome-card h4 {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.info-card p {
    font-size: 0.85rem;
}

/* ========================================
   ASSESSMENT ITEMS - MOBILE
   ======================================== */
.assessment-item {
    display: flex;
    justify-content: center; /* محاذاة أفقية */
    flex-wrap: wrap;
    gap: 8px;
}

.assessment-item h3 {
    font-size: 0.85rem;
}

.assessment-item p {
    font-size: 0.75rem;
    color: #666;
    margin-top: 2px;
}

.percentage {
    background: var(--secondary-color);
    color: white;
	    text-align: left;
    margin-right: auto;
    padding: 5px 10px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ========================================
   SCHEDULE TABLE - MOBILE
   ======================================== */
.schedule-container {
    overflow-x: auto;
    margin-top: 12px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.schedule-table {
    width: 100%;
    min-width: 550px;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.schedule-table th {
    background: var(--primary-color);
    color: white;
    padding: 10px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.75rem;
    white-space: nowrap;
}

.schedule-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
    vertical-align: middle;
}

.schedule-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.lecture-row {
    background-color: #f9f9f9;
}

.exam-row {
    background-color: #fff3cd !important;
    font-weight: bold;
    color: #856404;
}

.week-number {
    background: var(--secondary-color);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto;
    font-size: 0.8rem;
}

.topic-title {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 3px;
    font-size: 0.8rem;
}

.topic-desc {
    color: #666;
    font-size: 0.7rem;
}

.exam-title {
    color: #856404;
}

.lecture-badge, .exam-badge {
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
}

.lecture-badge {
    background-color: var(--secondary-color);
    color: white;
}

.exam-badge {
    background-color: #ffc107;
    color: #856404;
}

/* ========================================
   BUTTONS - MOBILE
   ======================================== */
.lecture-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.lecture-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(52, 152, 219, 0.3);
    width: 100%;
    min-height: 48px;
    margin-bottom: 8px;
    font-family: inherit;
}

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

.lecture-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    opacity: 0.7;
}

/* ========================================
   ASSIGNMENT BOX - MOBILE
   ======================================== */
.assignment-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 10px;
    border-radius: 12px;
    margin: 18px 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.assignment-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    word-wrap: break-word;
}

.grading-table {
    width: 100%;
    max-width: 100%;
    background: white;
    color: #333;
    border-collapse: collapse;
    margin: 12px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    font-size: 0.75rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.grading-table thead,
.grading-table tbody {
    display: table;
    width: 100%;
    min-width: 400px;
}

.grading-table th {
    background: var(--primary-color);
    color: white;
    padding: 8px 6px;
    text-align: center;
    font-size: 0.75rem;
    white-space: nowrap;
}

.grading-table td {
    padding: 8px 6px;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.grading-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* ========================================
   BOOK INFO - MOBILE
   ======================================== */
.book-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    background: white;
    padding: 18px 12px;
    border-radius: 10px;
    margin-top: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 100%;
}

.book-cover {
    width: 90px;
    height: 120px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.75rem;
    text-align: center;
    padding: 6px;
}

.book-details {
    text-align: center;
}

.book-details h3 {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.book-details p {
    font-size: 0.8rem;
    margin-bottom: 4px;
}

/* ========================================
   LISTS - MOBILE
   ======================================== */
.notes-list {
    list-style: none;
    margin-top: 10px;
    padding: 0;
}

.notes-list li {
    background: white;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 8px;
    border-right: 3px solid var(--secondary-color);
    padding-right: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-size: 0.85rem;
    line-height: 1.6;
    word-wrap: break-word;
}

.notes-list li i {
    color: var(--secondary-color);
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.9rem;
}

/* ========================================
   PLATFORMS - MOBILE
   ======================================== */
.platforms {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
    width: 100%;
}

.platform {
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--secondary-color);
}

.platform i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.platform h3 {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.platform p {
    font-size: 0.8rem;
}

/* ========================================
   IMPORTANT NOTE - MOBILE
   ======================================== */
.important-note {
    background: #fff3cd;
    border-right: 4px solid #ffc107;
    padding: 15px 12px;
    border-radius: 10px;
    margin-top: 15px;
    width: 100%;
    max-width: 100%;
}

.important-note h3 {
    color: #856404;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.important-note p {
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ========================================
   EXPERT TYPES & MODELS - MOBILE
   ======================================== */
.expert-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 10px;
    width: 100%;
}

.expert-card {
    background: white;
    padding: 10px 6px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-top: 2px solid var(--secondary-color);
}

.expert-card i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.expert-card h4 {
    font-size: 0.75rem;
}

.model-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 15px 0;
    width: 100%;
}

.model-card {
    background: white;
    padding: 15px 12px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.model-card.resource { border-color: var(--model-resource); }
.model-card.product { border-color: var(--model-product); }
.model-card.goal { border-color: var(--model-goal); }

.model-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.model-resource { color: var(--model-resource); }
.model-product { color: var(--model-product); }
.model-goal { color: var(--model-goal); }

.model-card h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.model-card p {
    font-size: 0.8rem;
    line-height: 1.6;
}

.model-example {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
    text-align: right;
    font-size: 0.8rem;
    word-wrap: break-word;
}

/* ========================================
   RELATIONSHIP & CERTIFICATION - MOBILE
   ======================================== */
.relationship-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
    width: 100%;
}

.relationship-card {
    background: white;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-right: 3px solid var(--accent-color);
    width: 100%;
}

.relationship-title {
    color: var(--accent-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.relationship-card p {
    font-size: 0.8rem;
    line-height: 1.6;
}

.certification-types {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    width: 100%;
}

.cert-card {
    background: white;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.cert-header {
    background: var(--primary-color);
    color: white;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    text-align: center;
}

.cert-header h4 {
    font-size: 0.9rem;
}

.cert-card p {
    font-size: 0.8rem;
}

.cert-card .key-point {
    font-size: 0.8rem;
}

.organization-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.organization-list li {
    background: #f8f9fa;
    margin-bottom: 6px;
    padding: 8px 10px;
    border-radius: 6px;
    border-right: 3px solid var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
}

/* ========================================
   CHALLENGE & LEADERSHIP - MOBILE
   ======================================== */
.challenge-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
    width: 100%;
}

.challenge-card {
    background: white;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-right: 3px solid var(--warning-color);
    width: 100%;
}

.challenge-title {
    color: #856404;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.challenge-card p {
    font-size: 0.8rem;
    line-height: 1.6;
}

.challenge-card ul {
    padding-right: 18px;
    margin: 8px 0;
    font-size: 0.8rem;
}

.leadership-examples {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
    width: 100%;
}

.leadership-card {
    background: white;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--primary-color);
    width: 100%;
}

.leadership-card h4 {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.leadership-card p {
    font-size: 0.8rem;
    line-height: 1.6;
}

/* ========================================
   ETHICAL FRAMEWORKS - MOBILE
   ======================================== */
.ethical-frameworks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
    width: 100%;
}

.framework-card {
    background: white;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-right: 3px solid #9b59b6;
    width: 100%;
}

.framework-card h4 {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.framework-card p {
    font-size: 0.8rem;
    line-height: 1.6;
}

/* ========================================
   FOOTER - MOBILE
   ======================================== */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 18px 12px;
    text-align: center;
    border-top: 3px solid var(--secondary-color);
    width: 100%;
}

.footer p {
    margin-bottom: 6px;
    opacity: 0.9;
    font-size: 0.8rem;
    line-height: 1.5;
    word-wrap: break-word;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.w-100 { width: 100%; }
.overflow-hidden { overflow: hidden; }
.word-wrap { word-wrap: break-word; overflow-wrap: break-word; }

/* ========================================
   TABLET BREAKPOINT (min-width: 481px)
   ======================================== */
@media (min-width: 481px) {
    html {
        font-size: 17px;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .header h2 {
        font-size: 1.05rem;
    }

    .content {
        padding: 12px 8px;
    }

    .section {
        padding: 20px 15px;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .concept-box p, .concept-box li {
        font-size: 0.95rem;
    }

    .definition-box, .important-definition {
        font-size: 0.95rem;
    }

    .example-box {
        font-size: 0.95rem;
    }

    .objectives-list li {
        font-size: 0.95rem;
    }

    .expert-types {
        grid-template-columns: repeat(3, 1fr);
    }

    .platforms {
        grid-template-columns: repeat(2, 1fr);
    }

    .lecture-btn {
        width: auto;
        min-width: 160px;
        flex: 1;
    }
}

    .header h2 {
        font-size: 0.95rem;
    }

    .content {
        padding: 10px 8px;
    }

    .section {
        padding: 15px 10px;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .expert-types {
        grid-template-columns: repeat(3, 1fr);
    }

    .platforms {
        grid-template-columns: repeat(2, 1fr);
    }

    .lecture-btn {
        width: auto;
        min-width: 160px;
        flex: 1;
    }
}

/* ========================================
   TABLET LANDSCAPE / SMALL LAPTOP (min-width: 769px)
   ======================================== */
@media (min-width: 769px) {
    html {
        font-size: 18px;
    }

    body {
        padding: 15px;
    }

    .container {
        max-width: 1200px;
    }

    .header {
        padding: 30px 20px;
    }

    .header h1 {
        font-size: 2.1rem;
    }

    .header h2 {
        font-size: 1.15rem;
    }

    .content {
        padding: 25px 20px;
    }

    .section {
        padding: 25px 20px;
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 1.55rem;
    }

    .concept-box p, .concept-box li {
        font-size: 1rem;
    }

    .concept-title {
        font-size: 1.15rem;
    }

    .definition-box, .important-definition {
        font-size: 1rem;
    }

    .example-box {
        font-size: 1rem;
    }

    .key-point {
        font-size: 0.95rem;
    }

    .objectives-list li {
        font-size: 1rem;
    }

    .step-box p {
        font-size: 0.95rem;
    }

    .quote {
        font-size: 1.05rem;
    }

    .expert-types {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .model-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .model-card {
        flex: 1;
        min-width: 200px;
        max-width: 280px;
    }

    .relationship-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .challenge-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .leadership-examples {
        grid-template-columns: repeat(2, 1fr);
    }

    .ethical-frameworks {
        grid-template-columns: repeat(2, 1fr);
    }

    .certification-types {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .cert-card {
        flex: 1;
        min-width: 220px;
    }

    .book-info {
        flex-direction: row;
        text-align: right;
        align-items: flex-start;
    }

    .book-details {
        text-align: right;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .assessment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .learning-outcomes {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   DESKTOP (min-width: 1025px)
   ======================================== */
@media (min-width: 1025px) {
    html {
        font-size: 20px;
    }

    body {
        padding: 20px;
    }

    .header {
        padding: 40px 30px;
    }

    .header h1 {
        font-size: 2.6rem;
    }

    .header h2 {
        font-size: 1.25rem;
    }

    .week-badge {
        font-size: 1rem;
    }

    .badge {
        font-size: 0.95rem;
    }

    .content {
        padding: 40px;
    }

    .section {
        padding: 35px;
        margin-bottom: 35px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .concept-box {
        padding: 25px;
    }

    .concept-box p, .concept-box li {
        font-size: 1.1rem;
        line-height: 1.9;
    }

    .concept-title {
        font-size: 1.35rem;
    }

    .definition-box, .important-definition {
        font-size: 1.1rem;
        padding: 20px;
    }

    .example-box {
        font-size: 1.05rem;
        padding: 20px;
    }

    .example-title {
        font-size: 1.15rem;
    }

    .key-point {
        font-size: 1.05rem;
        padding: 18px;
    }

    .objectives-list li {
        font-size: 1.1rem;
        padding-right: 30px;
    }

    .learning-objectives {
        padding: 25px;
    }

    .learning-objectives h3 {
        font-size: 1.25rem;
    }

    .step-box {
        padding: 20px;
    }

    .step-box h4 {
        font-size: 1.15rem;
    }

    .step-box p {
        font-size: 1.05rem;
    }

    .quote {
        font-size: 1.2rem;
        padding: 25px;
    }

    .quote-author {
        font-size: 1rem;
    }

    .assignment-box {
        padding: 35px;
    }

    .assignment-title {
        font-size: 1.5rem;
    }

    .case-study-box {
        padding: 25px;
    }

    .case-title {
        font-size: 1.25rem;
    }

    .solution-box {
        padding: 25px;
    }

    .solution-title {
        font-size: 1.25rem;
    }

    .comparison-table {
        font-size: 1rem;
    }

    .comparison-table th, .comparison-table td {
        padding: 15px;
    }

    .schedule-table {
        font-size: 1rem;
    }

    .schedule-table th, .schedule-table td {
        padding: 18px;
    }

    .grading-table {
        font-size: 1rem;
    }

    .model-container {
        flex-wrap: nowrap;
    }

    .model-card h3 {
        font-size: 1.2rem;
    }

    .model-card p {
        font-size: 1.05rem;
    }

    .relationship-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .relationship-title {
        font-size: 1.15rem;
    }

    .relationship-card p {
        font-size: 1.05rem;
    }

    .challenge-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .challenge-title {
        font-size: 1.15rem;
    }

    .leadership-examples {
        grid-template-columns: repeat(3, 1fr);
    }

    .leadership-card h4 {
        font-size: 1.15rem;
    }

    .leadership-card p {
        font-size: 1.05rem;
    }

    .ethical-frameworks {
        grid-template-columns: repeat(3, 1fr);
    }

    .framework-card h4 {
        font-size: 1.15rem;
    }

    .framework-card p {
        font-size: 1.05rem;
    }

    .platforms {
        grid-template-columns: repeat(2, 1fr);
    }

    .platform h3 {
        font-size: 1.15rem;
    }

    .platform p {
        font-size: 1.05rem;
    }

    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-card h3 {
        font-size: 1.15rem;
    }

    .info-card p {
        font-size: 1.05rem;
    }

    .assessment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .assessment-item h3 {
        font-size: 1rem;
    }

    .assessment-item p {
        font-size: 0.75rem;
    }

    .percentage {
        font-size: 1.1rem;
        padding: 8px 15px;
    }

    .learning-outcomes {
        grid-template-columns: repeat(4, 1fr);
    }

    .outcome-card h4 {
        font-size: 1.15rem;
    }

    .outcome-card p {
        font-size: 1.05rem;
    }

    .footer p {
        font-size: 1rem;
    }
}

/* ========================================
   LARGE DESKTOP (min-width: 1200px)
   ======================================== */
@media (min-width: 1200px) {
    html {
        font-size: 22px;
    }

    .container {
        border-radius: 20px;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    }

    .header h1 {
        font-size: 2.8rem;
    }

    .header h2 {
        font-size: 1.35rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .concept-box p, .concept-box li {
        font-size: 1.15rem;
    }

    .definition-box, .important-definition {
        font-size: 1.15rem;
    }

    .assessment-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .learning-outcomes {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    body {
        padding: 0;
        background: white;
    }

    .container {
        box-shadow: none;
        border-radius: 0;
        max-width: 100%;
    }

    .lecture-btn, .assignment-box {
        display: none;
    }

    .section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}