        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
            background-color: #f0f2f5;
        }

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #941B50;
            color: white;
            padding: 10px 20px;
            position: relative;
        }

        .logo {
            font-size: 24px;
            font-weight: bold;
            color: #fff;
            text-decoration: none;
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
        }

        .nav-menu {
            display: flex;
            align-items: center;
        }

        .nav-menu ul {
            list-style: none;
            display: flex;
            gap: 20px;
        }

        .nav-menu ul li {
            position: relative;
        }

        .nav-menu ul li a {
            color: white;
            text-decoration: none;
            padding: 10px;
        }

        .nav-menu ul li ul {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: #333;
            padding: 10px;
            border-radius: 5px;
            z-index: 1000;
        }

        .nav-menu ul li:hover ul {
            display: block;
        }

        .nav-menu ul li ul li {
            white-space: nowrap; /* Prevent text wrapping */
        }

        .off-canvas-menu {
            position: fixed;
            top: 0;
            left: -250px;
            width: 250px;
            height: 100%;
            background: #333;
            color: white;
            transition: left 0.3s ease;
            padding: 20px;
            z-index: 1000;
        }

        .off-canvas-menu.active {
            left: 0;
        }

        .off-canvas-menu ul {
            list-style: none;
            padding: 0;
        }

        .off-canvas-menu ul li {
            margin: 15px 0;
        }

        .off-canvas-menu ul li a {
            color: white;
            text-decoration: none;
        }

        .close-menu {
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            float: right;
        }

        .hero {
            background: url('https://assistinghands.com/20/wp-content/uploads/sites/43/2020/09/Duties-of-a-Dementia-Caregiver-1024x683.jpg') no-repeat center center/cover;
            color: white;
            padding: 80px 20px;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
        }

        .hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1;
        }

        .hero h1 {
            z-index: 2;
            font-size: 2.5rem;
            margin-bottom: 20px;
        }

        .hero p {
            z-index: 2;
            font-size: 1.2rem;
            max-width: 600px;
        }

        .section {
            padding: 40px 20px;
            text-align: center ;
            background: white;
            margin: 20px 0;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .section h2 {
            font-size: 2rem;
            margin-bottom: 20px;
            color: #941B50;
        }

        .section p {
            font-size: 1rem;
            color: #555;
            max-width: 800px;
            margin: 0 auto;
        }

 h1 {
      font-size: 2em;
      color: #941B50;
      margin-bottom: 10px;
    }

        footer {
            background: #333;
            color: white;
            text-align: center;
            padding: 20px 0;
        }

        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }

            .menu-toggle {
                display: block;
            }

            .quiz-container {
                flex-direction: column;
                align-items: center;
            }
        }

h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            font-size: 2rem;
            color: #941B50;
                        text-align: center;

        }
 .containerinner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }
.games-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .game-card {
            background: white;
            border-radius: 1rem;
            padding: 1.5rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            display: block;
            text-decoration: none;
            color: inherit;
        }

        .game-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }

        .game-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #941B50 0%, #D32F5E 100%);
        }

        .game-category {
            font-size: 0.85rem;
            color: #D32F5E;
            font-weight: 600;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
        }

        .game-title {
            font-size: 1.25rem;
            margin-bottom: 1rem;
            color: #1f2937;
        }

        .game-description {
            font-size: 0.9rem;
            color: #6b7280;
            line-height: 1.5;
            margin-bottom: 1.5rem;
        }

        .play-button {
            display: inline-block;
            background: #941B50;
            color: white !important;
            padding: 0.5rem 1.5rem;
            border-radius: 0.5rem;
            transition: background 0.3s ease;
            text-decoration: none;
        }

        .play-button:hover {
            background: #7A1442;
        transform: translateY(-1px);
        }