/* Premium Modern CSS Design System */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #2af598 0%, #009efd 100%);
    --accent-color: #ff6b6b;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --bg-body: #f0f2f5;
    --bg-card: rgba(255, 255, 255, 0.95);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.15);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
    --backdrop-blur: blur(12px);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 20%);
    background-attachment: fixed;
}

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

/* Glassmorphism Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-bottom: var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.navbar h1 {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-links a,
.nav-links button {
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: #667eea;
}

.nav-links button {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: var(--shadow-sm);
}

.nav-links button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #e74c3c;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
}

.btn-secondary {
    background: white;
    color: #667eea;
}

/* Landing Page */
.landing-hero {
    text-align: center;
    padding: 6rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: var(--glass-border);
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: var(--secondary-gradient);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.landing-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
}

/* Hero Split Layout */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* Forms */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.auth-form {
    width: 100%;
    max-width: 450px;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: var(--glass-border);
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e4e8;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
    background: #f8f9fa;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.auth-form button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    transition: var(--transition);
}

.auth-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.auth-form p {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
}

.auth-form a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
}

/* Dashboard */
.dashboard-header {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.dashboard-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 800;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

/* Course Grid */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.course-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: var(--glass-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary-gradient);
}

.course-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.course-card h3 {
    margin: 1rem 0 0.5rem;
    font-size: 1.4rem;
}

.course-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.badge {
    background: var(--secondary-gradient);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(42, 245, 152, 0.4);
}

/* Lessons */
.lesson-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.lesson-sidebar {
    width: 300px;
    flex-shrink: 0;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.lesson-sidebar h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.lesson-content {
    flex-grow: 1;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.lesson-list {
    list-style: none;
}

.lesson-list li {
    margin-bottom: 0.8rem;
}

.lesson-list a {
    text-decoration: none;
    color: var(--text-main);
    display: block;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-weight: 500;
    border-left: 3px solid transparent;
}

.lesson-list a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.lesson-list a.active {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-left-color: #667eea;
    font-weight: 700;
}

.lesson-list a.completed {
    color: #27ae60;
}

.lesson-list a.completed::after {
    content: ' ✓';
    font-weight: bold;
}

/* Footer */
.footer {
    background: var(--bg-card);
    padding: 3rem 2rem 1.5rem;
    margin-top: 5rem;
    border-top: 1px solid #eee;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Stats Section */
.stats-section {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin: 3rem 0;
}

.stats-grid-landing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item h2 {
    font-size: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

/* Congratulations Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: slideUp 0.5s ease;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: var(--transition);
}

.modal-close:hover {
    color: #333;
}

.congrats-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: bounce 1s ease infinite;
}

.modal-content h2 {
    font-size: 2.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.modal-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.certificate-preview {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 2rem;
    border-radius: var(--radius-md);
    margin: 2rem 0;
    border: 3px dashed #667eea;
}

.certificate-badge {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Badge Display */
.badges-section {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.badge-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.badge-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.badge-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--secondary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.badge-item h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.badge-item p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

@keyframes bounce {

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

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

/* Confetti Effect */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #667eea;
    position: absolute;
    animation: confetti-fall 3s linear;
}

@keyframes confetti-fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}


/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design - Mobile First Approach */

/* Mobile Devices (320px - 768px) */
@media (max-width: 768px) {

    /* Container */
    .container {
        padding: 0 1rem;
    }

    /* Navbar - Mobile */
    .navbar {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .navbar h1 {
        font-size: 1.4rem;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
        gap: 0.5rem;
    }

    .nav-links a,
    .nav-links button {
        margin-left: 0;
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        border-radius: var(--radius-sm);
        background: white;
        border: 1px solid #eee;
    }

    /* Landing Hero - Mobile */
    .landing-hero {
        padding: 3rem 1.5rem;
        margin-top: 1rem;
    }

    .landing-hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .landing-hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-split>div:first-child {
        text-align: center;
    }

    .hero-image {
        order: -1;
        max-width: 280px;
        margin: 0 auto;
    }

    /* Buttons - Mobile */
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }

    .btn-secondary {
        margin-left: 0 !important;
    }

    /* Stats Section - Mobile */
    .stats-section {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }

    .stats-section h2 {
        font-size: 1.5rem;
    }

    .stats-grid-landing {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-item h2 {
        font-size: 2.5rem;
    }

    /* Dashboard - Mobile */
    .dashboard-header {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .dashboard-header h2 {
        font-size: 1.5rem !important;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-card h3 {
        font-size: 2.5rem;
    }

    /* Course Grid - Mobile */
    .course-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-bottom: 2rem;
    }

    .course-card {
        padding: 1.5rem;
    }

    .course-image {
        height: 150px;
        padding: 1rem;
    }

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

    /* Auth Forms - Mobile */
    .auth-wrapper {
        min-height: 70vh;
        padding: 1rem 0;
    }

    .auth-form {
        padding: 2rem 1.5rem;
        max-width: 100%;
        margin: 0 1rem;
    }

    .auth-form h2 {
        font-size: 1.5rem;
    }

    .form-group input {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    /* Lesson Layout - Mobile */
    .lesson-layout {
        flex-direction: column;
        gap: 1rem;
    }

    .lesson-sidebar {
        width: 100%;
        position: static;
        padding: 1.5rem;
        order: 2;
        top: auto;
    }

    .lesson-sidebar h3 {
        font-size: 1rem;
    }

    .lesson-content {
        padding: 2rem 1.5rem;
        order: 1;
    }

    .lesson-content h2 {
        font-size: 1.5rem !important;
    }

    #lessonBody {
        font-size: 1rem !important;
    }

    #actionButtons {
        flex-direction: column;
        gap: 1rem;
    }

    #actionButtons button,
    #actionButtons a {
        width: 100%;
        min-width: auto !important;
    }

    /* Footer - Mobile */
    .footer {
        padding: 2rem 1rem 1rem;
        margin-top: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    /* Features Section - Mobile */
    section>div[style*="grid"] {
        grid-template-columns: 1fr !important;
    }

    /* Pie Chart - Mobile */
    section div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    #pieChart {
        width: 200px !important;
        height: 200px !important;
        margin: 0 auto;
    }
}

/* Landscape Mobile (480px - 768px landscape) */
@media (max-width: 768px) and (orientation: landscape) {
    .landing-hero {
        padding: 2rem 1.5rem;
    }

    .hero-split {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hero-image {
        max-width: 250px;
        order: 0;
    }

    .hero-split>div:first-child {
        text-align: left;
    }
}

/* Tablet Devices (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .landing-hero {
        padding: 5rem 3rem;
    }

    .landing-hero h1 {
        font-size: 2.8rem;
    }

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

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

    .lesson-sidebar {
        width: 250px;
    }

    .lesson-content {
        padding: 2.5rem;
    }
}

/* Desktop (1025px - 1440px) */
@media (min-width: 1025px) {
    .container {
        max-width: 1400px;
    }

    .landing-hero {
        padding: 8rem 4rem;
    }

    .landing-hero h1 {
        font-size: 4rem;
    }

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

    .lesson-content {
        padding: 4rem;
    }

    .dashboard-header {
        padding: 4rem;
    }

    .stats-section {
        padding: 5rem 3rem;
    }
}

/* Large Desktop (1441px+) */
@media (min-width: 1441px) {
    .container {
        max-width: 1600px;
    }

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

    .landing-hero {
        padding: 10rem 5rem;
    }

    .landing-hero h1 {
        font-size: 4.5rem;
    }
}

/* Ultra-wide screens (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1800px;
    }

    .course-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .navbar h1 {
        font-size: 1.2rem;
    }

    .landing-hero {
        padding: 2rem 1rem;
    }

    .landing-hero h1 {
        font-size: 1.75rem;
    }

    .landing-hero p {
        font-size: 0.95rem;
    }

    .hero-image {
        max-width: 240px;
    }

    .btn {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }

    .stat-item h2 {
        font-size: 2rem;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    .course-card {
        padding: 1.25rem;
    }

    .course-image {
        height: 120px;
    }

    .auth-form {
        padding: 1.5rem 1rem;
    }

    .lesson-content {
        padding: 1.5rem 1rem;
    }

    .lesson-sidebar {
        padding: 1.25rem;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .footer,
    .btn,
    .nav-links {
        display: none;
    }

    .lesson-content {
        box-shadow: none;
        padding: 0;
    }

    body {
        background: white;
    }

    .course-card,
    .lesson-sidebar {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .course-image {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fade-in-up {
        opacity: 1;
        transform: none;
    }
}