/* Define the custom colors based on Maasai culture */
:root {
             
            --maasai-red: #c0392b; /* Bold Red */
            --maasai-black: #2c3e50; /* Dark Charcoal */
            --maasai-yellow: #f1c40f; /* Bright Yellow */
            --maasai-grey: #ecf0f1; /* Light Background Grey */
            --maasai-green: #159619; /* Light Background Grey */
        }
    /* Specific page banner style for advanced learners page */
        .page-banner {
            background-image: url('/assets/images/maasai_elders.jpg'); /* Placeholder for advanced/cultural image */
            background-size: cover;
            background-position: center;
            min-height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
        }
        /* Dark overlay for better text readability */
        .page-banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(44, 62, 80, 0.75); /* Slightly darker Maasai Black with opacity */
        }
        .page-banner .container {
            position: relative;
            z-index: 10;
        }
        .lesson-card {
            transition: box-shadow 0.3s ease;
            border-left: 6px solid transparent;
        }
        .lesson-card:hover {
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            border-left-color: var(--maasai-yellow); /* Yellow highlight for advanced */
        }

        /* Custom CSS for the smooth slide-out menu (Mobile only) */
        #mobile-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 80vw; /* Takes 80% of the viewport width */
            max-width: 300px;
            height: 100%;
            background-color: var(--maasai-black);
            color: white;
            padding: 1.5rem 1rem;
            z-index: 1050; /* Above the navbar, below the overlay */
            transform: translateX(-100%); /* Start off-screen to the left */
            transition: transform 0.3s ease-in-out;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
            overflow-y: auto; /* Allows scrolling if content is long */
            border-top-right-radius: 12px;
            border-bottom-right-radius: 12px;
        }

        #mobile-menu.open {
            transform: translateX(0); /* Slides into view */
        }

        /* Overlay to catch outside clicks and dim the background */
        #menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1040; /* Below the menu */
            display: none;
        }

        #menu-overlay.open {
            display: block;
        }

        /* Mobile specific styles for the main navbar */
        @media (max-width: 991.98px) {
            .navbar-brand {
                font-size: 1.5rem !important;
            }
            /* Ensure the desktop menu is hidden on mobile */
            #main-navbar-links {
                display: none !important; 
            }
        }

        /* Desktop/Tablet specific styles */
        @media (min-width: 992px) {
            .navbar-toggler {
                display: none !important; /* Hide custom toggle on large screens */
            }
            /* Ensure the desktop menu (links, search, login) is visible on large screens */
            #main-navbar-links {
                display: flex !important;
                flex-grow: 1; /* Allows the links to push the search/login to the right */
                align-items: center;
            }
        }

        /* Styling for the main content sections */
        .section-padding {
            padding: 4rem 1.5rem;
        }

        /* Carousel specific styles */
        .carousel-caption-custom {
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(90deg, rgba(44, 62, 80, 0.7) 0%, rgba(44, 62, 80, 0.2) 100%);
            padding: 3rem 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            text-align: left;
        }
        .carousel-item img {
            height: 60vh; /* Set a fixed height for visual consistency */
            object-fit: cover;
        }
        @media (max-width: 768px) {
            .carousel-item img {
                height: 40vh;
            }
            .carousel-caption-custom {
                padding: 1.5rem;
            }
        }

        /* Custom card style */
        .app-card {
            transition: transform 0.3s ease;
            border-left: 5px solid var(--maasai-red);
        }
        .app-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        }
      .logo {
      	   width: 45px;
      	   height: auto;
      } 
      #navbar_div {
      background: linear-gradient(90deg,rgba(255, 241, 204, 1) 0%, rgba(255, 207, 102, 1) 33%, rgba(196, 194, 82, 1) 55%, rgba(255, 219, 110, 1) 82%, rgba(51, 49, 7, 1) 100%);
     }
    
            /* Pricing Card Overrides for visibility */
        .card-price-plan {
            transition: transform 0.3s ease;
        }
        .card-price-plan:hover {
            transform: translateY(-8px);
        }
        
        /* Specific page banner style */
        .page-banner {
            background-color: var(--maasai-black);
            min-height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        /* Accordion style for FAQ */
        .accordion-button:not(.collapsed) {
            color: var(--maasai-red);
            background-color: var(--maasai-grey);
            box-shadow: none;
            font-weight: bold;
        }
        .accordion-button:focus {
            box-shadow: 0 0 0 0.25rem rgba(192, 57, 43, 0.25); /* Red focus ring */
            border-color: var(--maasai-red);
        }

/* Styling for the main content sections for begginer learner*/
        .section-padding {
            padding: 4rem 1.5rem;
        }

        /* Custom card style */
        .course-feature-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-bottom: 4px solid transparent;
        }
        .course-feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            border-bottom-color: var(--maasai-red);