/**
 * Glassmorphism Design System
 * Plateforme d'Exercices - Design Premium & Élégant
 * Effet de verre dépoli avec transparences et flous subtils
 */

/* ========================================
   VARIABLES CSS & DESIGN TOKENS
   ======================================== */
:root {
    /* Couleurs principales - Palette douce et moderne */
    --color-primary: #667eea;
    --color-primary-dark: #5a67d8;
    --color-primary-light: #7f9cf5;

    --color-secondary: #f093fb;
    --color-secondary-dark: #e879f9;
    --color-secondary-light: #f5b8ff;

    --color-accent: #4facfe;
    --color-accent-dark: #00b4db;
    --color-accent-light: #6dd5fa;

    /* Couleurs de statut */
    --color-success: #10b981;
    --color-success-light: #34d399;
    --color-warning: #f59e0b;
    --color-warning-light: #fbbf24;
    --color-error: #ef4444;
    --color-error-light: #f87171;
    --color-info: #3b82f6;
    --color-info-light: #60a5fa;

    /* Couleurs neutres avec transparence */
    --color-white: #ffffff;
    --color-white-glass: rgba(255, 255, 255, 0.25);
    --color-white-glass-hover: rgba(255, 255, 255, 0.35);
    --color-dark: #1e293b;
    --color-dark-glass: rgba(30, 41, 59, 0.6);
    --color-gray: #64748b;
    --color-gray-light: #cbd5e1;
    --color-gray-lighter: #f1f5f9;

    /* Typographie */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Poppins', var(--font-primary);

    /* Tailles de police */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    /* Espacements */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;

    /* Bordures - Glassmorphism */
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    --border-radius-full: 9999px;

    /* Ombres - Douces et subtiles */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-pronounced: 0 12px 40px rgba(0, 0, 0, 0.25);

    /* Ombres colorées */
    --shadow-glow-primary: 0 8px 32px rgba(102, 126, 234, 0.25);
    --shadow-glow-secondary: 0 8px 32px rgba(240, 147, 251, 0.25);
    --shadow-glow-accent: 0 8px 32px rgba(79, 172, 254, 0.25);

    /* Blur pour glassmorphism */
    --blur-sm: 8px;
    --blur-md: 16px;
    --blur-lg: 24px;
    --blur-xl: 32px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-tooltip: 1060;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-dark);

    /* Fond dégradé animé */
    background: linear-gradient(135deg,
            #667eea 0%,
            #764ba2 25%,
            #f093fb 50%,
            #4facfe 75%,
            #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;

    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animation du fond */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Overlay pour améliorer la lisibilité */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

/* ========================================
   TYPOGRAPHIE
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-4);
    color: var(--color-dark);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: var(--text-4xl);
}

h2 {
    font-size: var(--text-3xl);
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

h5 {
    font-size: var(--text-lg);
}

h6 {
    font-size: var(--text-base);
}

p {
    margin-bottom: var(--space-4);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

/* ========================================
   GLASS EFFECT - Effet de verre principal
   ======================================== */
.glass {
    background: var(--color-white-glass);
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
}

.glass-hover {
    transition: all var(--transition-base);
}

.glass-hover:hover {
    background: var(--color-white-glass-hover);
    box-shadow: var(--shadow-pronounced);
}

/* ========================================
   BOUTONS - Glassmorphism Style
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(var(--blur-sm));
    -webkit-backdrop-filter: blur(var(--blur-sm));
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    box-shadow: var(--shadow-glow-primary);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow-primary), var(--shadow-pronounced);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
    color: var(--color-white);
    box-shadow: var(--shadow-glow-secondary);
}

.btn-secondary:hover {
    box-shadow: var(--shadow-glow-secondary), var(--shadow-pronounced);
}

.btn-success {
    background: linear-gradient(135deg, var(--color-success), var(--color-success-light));
    color: var(--color-white);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.25);
}

.btn-success:hover {
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.35), var(--shadow-pronounced);
}

.btn-outline {
    background: var(--color-white-glass);
    color: var(--color-dark);
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
}

.btn-outline:hover {
    background: var(--color-white-glass-hover);
    box-shadow: var(--shadow-pronounced);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

/* ========================================
   CARTES - Glass Effect avec fond opaque
   ======================================== */
.card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-6);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.card:hover {
    box-shadow: var(--shadow-pronounced);
    background: rgba(255, 255, 255, 1);
}

.card-header {
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.card-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
}

.card-body {
    margin-bottom: var(--space-4);
}

.card-footer {
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    gap: var(--space-3);
    align-items: center;
}

/* Carte avec gradient */
.card-gradient {
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.3) 0%,
            rgba(240, 147, 251, 0.3) 100%);
    backdrop-filter: blur(var(--blur-lg));
    -webkit-backdrop-filter: blur(var(--blur-lg));
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.card-gradient .card-title,
.card-gradient h1,
.card-gradient h2,
.card-gradient h3 {
    color: var(--color-white);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* ========================================
   FORMULAIRES - Glass Style
   ======================================== */
.form-group {
    margin-bottom: var(--space-5);
}

.form-label,
label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--color-dark);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    color: var(--color-dark);
    background: var(--color-white-glass);
    backdrop-filter: blur(var(--blur-sm));
    -webkit-backdrop-filter: blur(var(--blur-sm));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white-glass-hover);
    box-shadow: var(--shadow-md), 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control::placeholder {
    color: var(--color-gray);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231e293b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    padding-right: var(--space-8);
}

.form-check {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.form-check-input {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    cursor: pointer;
    background: var(--color-white-glass);
    backdrop-filter: blur(var(--blur-sm));
}

.form-check-input:checked {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.form-error {
    color: var(--color-error);
    font-size: var(--text-sm);
    margin-top: var(--space-2);
    display: block;
}

.form-help,
.form-text {
    color: var(--color-gray);
    font-size: var(--text-sm);
    margin-top: var(--space-2);
    display: block;
}

.text-muted {
    color: var(--color-gray);
}

/* ========================================
   NAVIGATION - Glass Effect avec fond opaque
   ======================================== */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(var(--blur-lg));
    -webkit-backdrop-filter: blur(var(--blur-lg));
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-4) var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    transition: transform var(--transition-fast);
}

.navbar-brand:hover {
    text-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.navbar-nav {
    display: flex;
    gap: var(--space-2);
    list-style: none;
    align-items: center;
}

.nav-link {
    padding: var(--space-2) var(--space-4);
    color: var(--color-dark);
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    backdrop-filter: blur(var(--blur-sm));
}

.nav-link:hover {
    background: var(--color-white-glass);
    color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    box-shadow: var(--shadow-glow-primary);
}

/* ========================================
   BADGES & TAGS - Glass Style
   ======================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-full);
    backdrop-filter: blur(var(--blur-sm));
    -webkit-backdrop-filter: blur(var(--blur-sm));
    box-shadow: var(--shadow-sm);
}

.badge-violet,
.badge-primary {
    background: rgba(102, 126, 234, 0.3);
    color: var(--color-primary-dark);
}

.badge-orange,
.badge-secondary {
    background: rgba(249, 115, 22, 0.3);
    color: #ea580c;
}

.badge-green,
.badge-success {
    background: rgba(16, 185, 129, 0.3);
    color: #065f46;
}

.badge-pink {
    background: rgba(240, 147, 251, 0.3);
    color: #9f1239;
}

.badge-yellow,
.badge-warning {
    background: rgba(245, 158, 11, 0.3);
    color: #854d0e;
}

.badge-gray {
    background: rgba(100, 116, 139, 0.3);
    color: var(--color-dark);
}

/* ========================================
   ALERTS - Glass Effect
   ======================================== */
.alert {
    padding: var(--space-4) var(--space-5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: start;
    gap: var(--space-3);
}

.alert-success {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--color-success-light);
    color: #065f46;
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--color-error-light);
    color: #991b1b;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--color-warning-light);
    color: #854d0e;
}

.alert-info {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--color-info-light);
    color: #1e40af;
}

/* ========================================
   LAYOUT & CONTAINERS
   ======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-sm {
    max-width: 800px;
}

.container-lg {
    max-width: 1600px;
}

.section {
    padding: var(--space-12) 0;
}

.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* ========================================
   UTILITIES
   ======================================== */
.text-center {
    text-align: center;
}

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

.text-left {
    text-align: left;
}

.mt-0 {
    margin-top: 0;
}

.mt-2 {
    margin-top: var(--space-2);
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-6 {
    margin-top: var(--space-6);
}

.mt-8 {
    margin-top: var(--space-8);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-2 {
    margin-bottom: var(--space-2);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-6 {
    margin-bottom: var(--space-6);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.hidden {
    display: none;
}

.text-violet,
.text-primary {
    color: var(--color-primary);
}

.text-orange,
.text-secondary {
    color: var(--color-secondary);
}

.text-blue,
.text-accent {
    color: var(--color-accent);
}

.text-green,
.text-success {
    color: var(--color-success);
}

.text-gray {
    color: var(--color-gray);
}

.text-gray-dark {
    color: var(--color-gray);
}

.text-white {
    color: var(--color-white);
}

.font-bold {
    font-weight: 700;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.animate-fadeIn {
    animation: fadeIn var(--transition-base) ease-out;
}

.animate-slideIn {
    animation: slideIn var(--transition-slow) ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    :root {
        --text-4xl: 2rem;
        --text-3xl: 1.5rem;
        --text-2xl: 1.25rem;
    }

    .navbar-container {
        flex-direction: column;
        gap: var(--space-4);
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--space-8) 0;
    }
}

/* ========================================
   SCROLLBAR PERSONNALISÉE
   ======================================== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(var(--blur-sm));
}

::-webkit-scrollbar-thumb {
    background: var(--color-white-glass);
    backdrop-filter: blur(var(--blur-sm));
    border-radius: var(--border-radius-full);
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-white-glass-hover);
    background-clip: padding-box;
}


/*cours*/
.smsc-wrapper {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: #2c3e50;
    max-width: 100%;
    margin: 0 auto;
}

.smsc-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 12px;
    margin-bottom: 35px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.smsc-header h1 {
    margin: 0 0 15px 0;
    font-size: 2.2em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.smsc-header p {
    margin: 0;
    font-size: 1.1em;
    opacity: 0.95;
}

.smsc-section {
    background: #ffffff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    border-left: 5px solid #667eea;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.smsc-section h2 {
    color: #667eea;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #f0f0f0;
}

.smsc-section h3 {
    color: #764ba2;
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.smsc-illustration {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    text-align: center;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

.smsc-diagram {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.smsc-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.smsc-box:hover {
    box-shadow: var(--shadow-pronounced);
}

.smsc-box-title {
    font-weight: 700;
    color: #667eea;
    font-size: 1.1em;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.smsc-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.smsc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.smsc-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.smsc-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 1em;
}

.smsc-table td {
    padding: 15px;
    border-bottom: 1px solid #4b4949;
}

.smsc-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.smsc-table tbody tr:hover {
    background-color: #f0f4ff;
    transition: background-color 0.3s ease;
}

.smsc-highlight {
    background: #fff3cd;
    padding: 20px;
    border-left: 4px solid #ffc107;
    border-radius: 6px;
    margin: 20px 0;
}

.smsc-list {
    background: #f8f9fa;
    padding: 20px 25px;
    border-radius: 8px;
    margin: 15px 0;
}

.smsc-list ul {
    margin: 10px 0;
    padding-left: 25px;
}

.smsc-list li {
    margin: 10px 0;
    line-height: 1.7;
}

.smsc-example {
    background: #e8f5e9;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 5px solid #4caf50;
}

.smsc-example-title {
    font-weight: 700;
    color: #2e7d32;
    font-size: 1.2em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.smsc-example-title::before {
    content: "✓";
    display: inline-block;
    width: 28px;
    height: 28px;
    background: #4caf50;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    margin-right: 12px;
    font-weight: bold;
}

.smsc-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.smsc-pillar {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #667eea;
}

.smsc-pillar h4 {
    color: #667eea;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.2em;
}

.smsc-important {
    background: #ffebee;
    padding: 20px;
    border-left: 4px solid #f44336;
    border-radius: 6px;
    margin: 20px 0;
}

.smsc-important-title {
    font-weight: 700;
    color: #c62828;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.smsc-steps {
    counter-reset: step-counter;
    margin: 20px 0;
}

.smsc-step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 25px;
}

.smsc-step::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.smsc-step-title {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .smsc-header h1 {
        font-size: 1.6em;
    }

    .smsc-diagram {
        flex-direction: column;
    }

    .smsc-pillars {
        grid-template-columns: 1fr;
    }
}
/* Navbar customization from Home */
.navbar-brand img {
    max-height: 50px;
    transition: transform 0.3s ease;
}
.navbar-brand:hover img {
    transform: scale(1.05);
}

