body {
            font-family: 'Poppins', sans-serif;  /* Use Poppins font for the entire page */
            background-color: var(--theme-body-bg, #f4f4f4);
       }
       .row {
            display: flex;  /* Enable flexbox for the row */
            flex-wrap: wrap; /* Allow wrapping to the next row on smaller screens */
            }

        .col-md-4 {
            display: flex; /* Enable flexbox for the column */
            flex-direction: column; /* Align items vertically within the column */
            }

        .box {
            border: none; 
            padding: 30px; /* Increased padding */
            margin-bottom: 30px; /* Increased margin */
            text-align: center;
            cursor: pointer;
            background-color: var(--theme-card-bg, white);
            border-radius: 15px; /* More rounded corners */
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15); /* More pronounced shadow */
            transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smoother transition */
            overflow: hidden; /* For image containment on hover */
            flex-grow: 1;  /* Allow boxes to expand to fill available space */
        }

        .box:hover {
            transform: translateY(-8px); /* More lift on hover */
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Darker shadow on hover */
        }

        .box a {
            display: flex; /* Enable flexbox for the link */
            flex-direction: column; /* Vertical alignment of link content */
            height: 100%; /* Make the link fill the entire box height */
            align-items: center; /* Center content horizontally */
            justify-content: center; /* Center content vertically */
            text-decoration: none; /* Removes underlines */
            color: var(--theme-card-text, #333);
        }

        .box a:hover {  /* Specifically target your challenge box links */

            text-decoration: none; /* Make sure underline is removed on hover too */
            color: var(--theme-card-hover, #007bff);
            }


        .box img {
            max-width: 100%;
            height: 200px; /* Fixed height for consistent box sizes */
            object-fit: cover; /* Maintain aspect ratio and cover the area */
            display: block;
            margin: 0 auto;
            border-radius: 10px;
            transition: transform 0.3s ease; /* Add a transition for image hover effect */
            max-height: 200px; /* Use max-height to limit image size if needed */

        }


        .box:hover img {
            transform: scale(1.1);  /* Zoom image slightly on hover */
        }



        .box h3 { 
            margin-top: 20px;
            font-weight: 600;  /* Slightly bolder heading font-weight */
            color: var(--theme-card-text, #333);
            transition: color 0.3s ease;   /*  Transition for heading color */

        }

        .box:hover h3 {
            color: var(--theme-card-hover, #007bff);
        }

        .navbar {
            background-color: var(--theme-navbar-bg, #00F4FF) !important;
        }
        .navbar .nav-link,
        .navbar .navbar-brand,
        .navbar .dropdown-toggle {
            color: var(--theme-navbar-text, #000000) !important;
        }
        .navbar .nav-link:hover,
        .navbar .nav-link:focus {
            color: var(--theme-navbar-text, #000000) !important;
            opacity: 0.8;
        }
        .navbar .navbar-toggler-icon {
            filter: var(--theme-toggler-filter, none);
        }
        .dropdown-menu {
            background-color: var(--theme-dropdown-bg, #ffffff);
        }
        .dropdown-menu .dropdown-item {
            color: var(--theme-dropdown-text, #333333);
        }
        .dropdown-menu .dropdown-item:hover,
        .dropdown-menu .dropdown-item:focus {
            background-color: var(--theme-primary, #007bff);
            color: var(--theme-cust-btn-text, #ffffff);
        }

        h1 {
            font-weight: 700; /* Even bolder main heading */
            margin-bottom: 40px;  /* Increase margin below heading */
        }
        .seo-content {
            padding: 20px; /* Add padding around the SEO content */
            margin-bottom: 40px; /* Add margin below SEO content */
        }

        .seo-content h2 {
            margin-top: 30px; /* Add margin above h2 headings */
        }

        .seo-content p {
            line-height: 1.6; /* Improve readability */
            margin-bottom: 15px; /* Add space between paragraphs */
        }

        .seo-section { /* Style for individual challenge descriptions */
            margin-bottom: 25px;
            padding: 15px;
            border: 1px solid #ddd; /* Light border */
            border-radius: 8px;    /* Slightly rounded corners */
        }

        .seo-section h2 {
            margin-top: 0; /* Remove extra margin from section headings */
        }

        footer {
            background-color: var(--theme-footer-bg, #E1E1E1);
            color: var(--theme-footer-text, #475579);
        }



        .calculator-container {
            background-color: white;
            border-radius: 15px;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
            padding: 30px;
            margin-top: 50px;  /* Space above the calculator */

        }

        .result {
            font-size: 2em;
            font-weight: bold;
            margin-top: 20px;
            color: var(--theme-primary, #007bff);
        }

        /* Styles for the progress circle (using a library or custom CSS) */
        .circle {
            width: 150px;
            height: 150px;
            margin: 40px auto; /* Center the circle */

        }
        #result-message {
            margin-top: 20px;
            text-align: center;
        }
        canvas#myCircle {
            margin: 20px auto;
            display: block;

        }

        /* ── Promo Block ─────────────────────────────────────── */
        .promo-block {
            margin: 20px 0;
        }
        .promo-external-block {
            display: flex;
            justify-content: center;
            padding: 0 8px;
        }

        /* Separator between consecutive promos */
        .promo-sep {
            border: none;
            border-top: 2px solid rgba(0, 0, 0, 0.08);
            margin: 24px 0;
        }

        /* Heading for internal-games blocks */
        .promo-block-heading {
            text-align: center;
            font-weight: 600;
            color: var(--theme-card-text, #333);
            margin-bottom: 16px;
        }

        /* Internal games flex row — mirrors homepage .row behaviour */
        .promo-games-row {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            justify-content: center;
        }
        .promo-game-item {
            flex: 0 0 calc(33.33% - 12px);
            min-width: 130px;
            max-width: 240px;
        }
        @media (max-width: 576px) {
            .promo-game-item { flex: 0 0 calc(50% - 8px); }
        }

        /* External promo card — same shape as .box, card-sized not banner-sized */
        .promo-external-card {
            border-radius: 15px;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
            padding: 20px 18px;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            max-width: 240px;
            width: 240px;
        }
        .promo-external-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }
        .promo-box-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 8px;
        }
        .promo-box-subtitle {
            font-size: 0.95rem;
            margin-bottom: 12px;
        }
        .promo-box-media {
            display: block;
            margin: 12px 0;
        }
        .promo-box-media img {
            width: 100%;
            max-height: 200px;
            object-fit: cover;
            border-radius: 10px;
        }
        .promo-box-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 26px;
            border-radius: 100px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            margin-top: 12px;
            transition: opacity 0.2s;
        }
        .promo-box-cta:hover {
            opacity: 0.85;
            text-decoration: none;
        }
        .promo-img-placeholder {
            font-size: 3rem;
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
        }