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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #177842;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            padding: 0;
            position: relative;
            overflow-x: hidden;
        }

        /* Animated Circles Background */
        .floating-circles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 0;
            pointer-events: none;
        }

        .circle {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            animation: float 6s ease-in-out infinite;
        }

        .circle:nth-child(1) {
            width: 80px;
            height: 80px;
            top: 10%;
            left: 10%;
            animation-delay: 0s;
            animation-duration: 8s;
        }

        .circle:nth-child(2) {
            width: 120px;
            height: 120px;
            top: 20%;
            right: 15%;
            animation-delay: 2s;
            animation-duration: 10s;
        }

        .circle:nth-child(3) {
            width: 60px;
            height: 60px;
            bottom: 30%;
            left: 20%;
            animation-delay: 4s;
            animation-duration: 7s;
        }

        .circle:nth-child(4) {
            width: 100px;
            height: 100px;
            bottom: 20%;
            right: 25%;
            animation-delay: 1s;
            animation-duration: 9s;
        }

        .circle:nth-child(5) {
            width: 150px;
            height: 150px;
            top: 50%;
            left: 5%;
            animation-delay: 3s;
            animation-duration: 12s;
        }

        .circle:nth-child(6) {
            width: 70px;
            height: 70px;
            top: 70%;
            right: 10%;
            animation-delay: 5s;
            animation-duration: 8s;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0px) rotate(0deg);
                opacity: 0.3;
            }
            25% {
                transform: translateY(-20px) rotate(90deg);
                opacity: 0.6;
            }
            50% {
                transform: translateY(-40px) rotate(180deg);
                opacity: 0.4;
            }
            75% {
                transform: translateY(-20px) rotate(270deg);
                opacity: 0.7;
            }
        }

        /* Header */
        .header {
            background: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
        }

        .header .logo {
            height: 60px;
            width: auto;
            background: none;
            box-shadow: none;
            border-radius: 0;
        }

        .logo-left {
            /* Style for left logo */
        }

        .logo-left a {
            text-decoration: none;
            display: inline-block;
        }

        .logo-right {
            /* Style for right logo */
        }

        .join-container {
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            width: 100%;
            max-width: 550px;
            overflow: hidden;
            animation: slideUp 0.6s ease-out;
            position: relative;
            z-index: 1;
            margin: 40px auto;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Quiz Header Section inside container */
        .quiz-header {
            background: linear-gradient(135deg, #177842 0%, #0f5a2f 100%);
            color: white;
            padding: 48px 32px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .quiz-header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 300px;
            height: 300px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
            z-index: 0;
        }

        .quiz-header::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -5%;
            width: 200px;
            height: 200px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
            z-index: 0;
        }

        .quiz-badge {
            display: inline-block;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            color: white;
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 1px;
            margin-bottom: 20px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            position: relative;
            z-index: 1;
        }

        .quiz-title {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 16px;
            line-height: 1.2;
            position: relative;
            z-index: 1;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .quiz-description {
            font-size: 16px;
            opacity: 0.95;
            line-height: 1.6;
            position: relative;
            z-index: 1;
            max-width: 400px;
            margin: 0 auto;
        }

        .quiz-info {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin-top: 28px;
            padding-top: 28px;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            position: relative;
            z-index: 1;
        }

        .info-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 15px;
            font-weight: 500;
            background: rgba(255, 255, 255, 0.1);
            padding: 10px 18px;
            border-radius: 50px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .info-icon {
            font-size: 20px;
        }

        /* Form Section */
        .form-section {
            padding: 40px 32px;
        }

        .form-header {
            text-align: center;
            margin-bottom: 32px;
        }

        .form-header h2 {
            font-size: 24px;
            color: #2c3e50;
            margin-bottom: 8px;
        }

        .form-header p {
            color: #7f8c8d;
            font-size: 14px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        label {
            display: block;
            font-size: 14px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 8px;
        }

        label .required {
            color: #e74c3c;
            margin-left: 4px;
        }

        /* Arabic text styling */
        label .arabic {
            color: #4b7954;
            font-size: 13px;
            margin-left: 8px;
            font-family: 'Cairo', 'Arial', sans-serif;
            font-weight: 500;
            display: inline;
        }

        /* General Arabic text styling */
        .arabic {
            font-family: 'Cairo', 'Arial', sans-serif !important;
            font-weight: 500;
        }

        input[type="text"],
        input[type="email"],
        input[type="tel"],
        select {
            width: 100%;
            padding: 14px 16px;
            font-size: 15px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            transition: all 0.3s ease;
            font-family: inherit;
        }

        select {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237f8c8d' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
            padding-right: 40px;
        }

        input:focus,
        select:focus {
            outline: none;
            border-color: #4b7954;
            box-shadow: 0 0 0 4px rgba(75, 121, 84, 0.1);
        }

        input.error,
        select.error {
            border-color: #e74c3c;
        }

        .error-message {
            font-size: 12px;
            color: #e74c3c;
            margin-top: 6px;
            display: none;
        }

        .input-icon {
            position: relative;
        }

        .input-icon input,
        .input-icon select {
            padding-left: 44px;
        }

        .icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 18px;
            color: #7f8c8d;
            pointer-events: none;
        }

        /* Alert */
        .alert {
            padding: 14px 16px;
            border-radius: 10px;
            margin-bottom: 20px;
            display: none;
            animation: fadeIn 0.3s ease-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .alert-error {
            background-color: #fee;
            color: #c33;
            border: 1px solid #fcc;
        }

        .alert-warning {
            background-color: #fff3cd;
            color: #856404;
            border: 1px solid #ffeaa7;
        }

        /* Consent Section */
        .consent-section {
            margin: 24px 0;
        }

        .consent-checkbox {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 8px;
        }

        .consent-checkbox input[type="checkbox"] {
            width: 18px;
            height: 18px;
            margin: 0;
            cursor: pointer;
            accent-color: #4b7954;
        }

        .consent-label {
            font-size: 14px;
            color: #2c3e50;
            line-height: 1.5;
            cursor: pointer;
            margin: 0;
            flex: 1;
            font-weight: normal;
        }

        .consent-label:hover {
            color: #4b7954;
        }

        /* Legal Information Block */
        .legal-info-block {
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 8px;
            padding: 16px;
            margin-top: 20px;
            font-size: 12px;
            color: #6c757d;
            line-height: 1.4;
        }

        .legal-info-block p {
            margin: 0;
        }

        /* Submit Button */
        .btn-submit {
            width: 100%;
            padding: 16px;
            font-size: 17px;
            font-weight: 600;
            color: white;
            background: linear-gradient(135deg, #4b7954, #6f4a44);
            border: none;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(75, 121, 84, 0.3);
            margin-top: 8px;
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(75, 121, 84, 0.4);
        }

        .btn-submit:active {
            transform: translateY(0);
        }

        .btn-submit:disabled {
            background: #95a5a6;
            cursor: not-allowed;
            transform: none;
        }

        .loading {
            display: none;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin: 0 auto;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .btn-submit.loading-state .btn-text {
            display: none;
        }

        .btn-submit.loading-state .loading {
            display: block;
        }

        /* Footer */
        .form-footer {
            text-align: center;
            margin-top: 24px;
            padding-top: 24px;
            border-top: 1px solid #ecf0f1;
        }

        .footer-text {
            font-size: 13px;
            color: #7f8c8d;
        }

        .footer-link {
            color: #4b7954;
            text-decoration: none;
            font-weight: 600;
        }

        .footer-link:hover {
            text-decoration: underline;
        }

        /* Quiz Inactive State */
        .inactive-state {
            text-align: center;
            padding: 60px 32px;
        }

        .inactive-icon {
            font-size: 64px;
            margin-bottom: 20px;
        }

        .inactive-state h2 {
            font-size: 24px;
            color: #2c3e50;
            margin-bottom: 12px;
        }

        .inactive-state p {
            color: #7f8c8d;
            font-size: 15px;
            margin-bottom: 24px;
        }

        .btn-secondary {
            display: inline-block;
            padding: 12px 32px;
            background: white;
            color: #4b7954;
            border: 2px solid #4b7954;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .btn-secondary:hover {
            background: #4b7954;
            color: white;
        }

        /* Bottom Footer */
        .footer {
            background: black;
            color: white;
            padding: 2rem 0;
            text-align: center;
            margin-top: auto;
            position: relative;
            z-index: 1;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .footer p {
            margin-bottom: 0.5rem;
        }

        /* Mobile Responsive */
        @media (max-width: 640px) {
            .header-content {
                padding: 0 1rem;
            }

            .header .logo {
                height: 50px;
            }

            .join-container {
                border-radius: 16px;
                margin: 20px auto;
            }

            .quiz-header {
                padding: 40px 24px;
            }

            .quiz-badge {
                font-size: 11px;
                padding: 6px 16px;
            }

            .quiz-title {
                font-size: 24px;
            }

            .quiz-description {
                font-size: 14px;
            }

            .quiz-info {
                flex-direction: column;
                gap: 12px;
                align-items: center;
            }

            .info-item {
                width: 100%;
                max-width: 250px;
                justify-content: center;
            }

            .form-section {
                padding: 32px 24px;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .form-header h2 {
                font-size: 20px;
            }

            /* Arabic labels on mobile */
            label .arabic {
                font-size: 12px;
                margin-left: 6px;
                display: inline;
            }

            label {
                font-size: 13px;
            }

            .footer-content {
                padding: 0 1rem;
            }

            /* Consent elements on mobile */
            .consent-label {
                font-size: 13px;
            }

            .legal-info-block {
                padding: 12px;
                font-size: 11px;
            }
        }
