body {
            font-family: 'Inter', sans-serif;
            overflow-x: hidden; /* Prevents horizontal scrolling */
        }
        .page-section {
            display: none; /* Hides all sections by default */
            min-height: calc(100vh - 64px); /* Ensures each section takes at least window height minus nav bar */
            padding-top: 64px; /* Space for fixed navigation bar */
        }
        .page-section.active {
            display: block; /* Displays the active section */
        }
       /* Specific styles for Home section background */
        #home {
            background: linear-gradient(to bottom, #1a202c, #2d3748); /* Dark gradient */
            position: relative;
            overflow: hidden;
            color: white;
        }
        #home::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><rect width="100%" height="100%" fill="%231a202c"/></svg>') no-repeat center center/cover;
            opacity: 0.3; /* Opacity for subtle effect */
            z-index: 0;
        }
        #home .content-wrapper {
            position: relative;
            z-index: 1;
        }

        /* Styles for the chatbot */
        #ai-chatbot {
            background: linear-gradient(to bottom right, #e0f2fe, #bfdbfe); /* Light blue gradient */
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Styles for the Discover Jesus page */
        #discover-jesus {
            background: #f8fafc; /* Very light background */
            color: #334155;
        }
        .story-section {
            padding: 4rem 0;
            max-width: 900px;
            margin: 0 auto;
        }
        .story-section:nth-child(even) {
            background-color: #f1f5f9; /* Slight color alternation for sections */
        }
        .video-player-container {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
            height: 0;
            overflow: hidden;
            border-radius: 0.75rem; /* rounded-xl */
        }
        .video-player-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        /* Styles for developed sections */
        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }
        .section-header h2 {
            font-size: 2.5rem; /* text-4xl */
            font-weight: 800; /* font-extrabold */
            color: #1e40af; /* blue-800 */
        }
        .section-header p {
            font-size: 1.125rem; /* text-lg */
            color: #4b5563; /* gray-700 */
            max-width: 700px;
            margin: 0.5rem auto 0;
        }

        /* Styles for LMS dashboard */
        .dashboard-card {
            background-color: white;
            border-radius: 0.75rem; /* rounded-xl */
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-lg */
            padding: 1.5rem; /* p-6 */
            transition: transform 0.3s ease-in-out;
        }
        .dashboard-card:hover {
            transform: translateY(-5px);
        }
        .course-card {
            background-color: white;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            overflow: hidden;
            transition: transform 0.3s ease-in-out;
        }
        .course-card:hover {
            transform: translateY(-5px);
        }
        .progress-bar-container {
            background-color: #e0e7ff; /* indigo-100 */
            border-radius: 9999px; /* rounded-full */
            height: 0.75rem; /* h-3 */
            overflow: hidden;
        }
        .progress-bar {
            background-color: #4f46e5; /* indigo-600 */
            height: 100%;
            border-radius: 9999px; /* rounded-full */
        }

        /* Styles for IT Space */
        #it-experts {
            background: linear-gradient(to bottom, #1f2937, #374151); /* Dark gray gradient */
            color: white;
        }
        #it-experts .card {
            background-color: rgba(255, 255, 255, 0.08); /* White with opacity */
            backdrop-filter: blur(5px); /* Frosted glass effect */
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            transition: transform 0.3s ease-in-out;
        }
        #it-experts .card:hover {
            transform: translateY(-5px);
        }

        /* Styles for statistics */
        .stat-card {
            background-color: white;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            padding: 1.5rem;
            text-align: center;
            transition: transform 0.3s ease-in-out;
        }
        .stat-card:hover {
            transform: translateY(-5px);
        }
        .chart-container {
            background-color: white;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            padding: 1.5rem;
            height: 300px; /* Fixed height for chart placeholder */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Styles for AI Assistant & Forum */
        #ai-forum {
            background: linear-gradient(to top left, #f0f9ff, #e0f2fe); /* Very light blue gradient */
        }
        .forum-card {
            background-color: white;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            padding: 1.5rem;
            transition: transform 0.3s ease-in-out;
        }
        .forum-card:hover {
            transform: translateY(-3px);
        }
        .tab-button.active {
            background-color: #1d4ed8; /* blue-700 */
            color: white;
        }

        /* Styles for Motivation & Rewards */
        #motivation-rewards {
            background: linear-gradient(to bottom right, #fef2f2, #fee2e2); /* Light red gradient */
        }
        .badge-card {
            background-color: white;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            padding: 1.5rem;
            text-align: center;
            transition: transform 0.3s ease-in-out;
        }
        .badge-card:hover {
            transform: scale(1.05);
        }
        .badge-card.unearned {
            opacity: 0.6;
            filter: grayscale(100%);
        }

        /* Styles for Contact & Resources and Digital Library */
        #contact-resources, #digital-library {
            background: #f0f9ff; /* Very light blue */
        }
        .resource-card {
            background-color: white;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            padding: 1.5rem;
            transition: transform 0.3s ease-in-out;
        }
        .resource-card:hover {
            transform: translateY(-5px);
        }
        .bible-verse-result {
            background-color: #e0f2fe; /* blue-100 */
            border-left: 4px solid #3b82f6; /* blue-500 */
            padding: 1.5rem;
            border-radius: 0.5rem;
            margin-top: 1.5rem;
        }

        /* Styles for authentication interface */
        #auth-interface {
            background: linear-gradient(to bottom, #e0f7fa, #b3e5fc); /* Light blue gradient */
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .auth-container {
            background-color: white;
            border-radius: 1.5rem; /* rounded-3xl */
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-2xl */
            padding: 2.5rem; /* p-10 */
            width: 100%;
            max-width: 450px;
            text-align: center;
        }
        .auth-form-toggle-btn {
            background-color: #e0e7ff; /* indigo-100 */
            color: #4f46e5; /* indigo-600 */
            font-weight: 600;
            padding: 0.75rem 1.5rem;
            border-radius: 9999px; /* rounded-full */
            transition: background-color 0.3s ease;
        }
        .auth-form-toggle-btn:hover {
            background-color: #c7d2fe; /* indigo-200 */
        }
        .social-login-btn {
            border: 1px solid #d1d5db; /* gray-300 */
            color: #4b5563; /* gray-700 */
            padding: 0.75rem 1.25rem;
            border-radius: 0.75rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.2s ease;
        }
        .social-login-btn:hover {
            background-color: #f3f4f6; /* gray-100 */
        }

        /* Style for active navigation link */
        .nav-link.active-link {
            color: #1d4ed8; /* blue-700 */
            border-bottom: 2px solid #1d4ed8; /* Underline effect */
            padding-bottom: 0.25rem; /* Space for the underline */
            font-weight: 700; /* Bolder to distinguish it better */
        }

        /* Modal specific styles */
        .modal {
            display: none; /* Hidden by default */
            position: fixed; /* Stay in place */
            z-index: 1000; /* Sit on top */
            left: 0;
            top: 0;
            width: 100%; /* Full width */
            height: 100%; /* Full height */
            overflow: auto; /* Enable scroll if needed */
            background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
            align-items: center;
            justify-content: center;
        }
        .modal-content {
            background-color: #fefefe;
            margin: auto;
            padding: 20px;
            border-radius: 1rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            width: 90%;
            max-width: 500px;
            display: flex;
            flex-direction: column;
            height: 80vh; /* Make modal taller for chat */
        }
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
            margin-bottom: 15px;
        }
        .modal-close {
            color: #aaa;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }
        .modal-close:hover,
        .modal-close:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }
        .whatsapp-chat-messages {
            flex-1;
            overflow-y: auto;
            padding: 1rem;
            background-color: #f8fafc;
            border-radius: 0.5rem;
            margin-bottom: 1rem;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }
        .whatsapp-chat-input {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .whatsapp-chat-input input {
            flex-grow: 1;
            padding: 0.75rem;
            border: 1px solid #cbd5e1;
            border-radius: 9999px;
            outline: none;
            transition: border-color 0.2s ease;
        }
        .whatsapp-chat-input input:focus {
            border-color: #3b82f6;
        }
        .whatsapp-chat-input button {
            background-color: #25d366; /* WhatsApp green */
            color: white;
            padding: 0.75rem 1rem;
            border-radius: 9999px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.2s ease;
        }
        .whatsapp-chat-input button:hover {
            background-color: #1da851;
        }
        .message-bubble {
            padding: 0.75rem 1rem;
            border-radius: 0.75rem;
            max-width: 75%;
            word-wrap: break-word;
        }
        .message-bubble.user {
            background-color: #dcf8c6; /* Light green for user messages */
            align-self: flex-end;
        }
        .message-bubble.ai {
            background-color: #ffffff; /* White for AI messages */
            align-self: flex-start;
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        }/* CSS Document */

