/* Hero section */
        .welcome-section {
            background: #804383;
            clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
            color: var(--white);
            text-align: center;
            padding-top: 4rem;
            padding-bottom: 5rem;
            margin-bottom: 3rem;
        }
        .welcome-section h1{
            font-size: 2.25rem;
            font-weight: 700;
            margin-bottom: 1rem;
            animation: fadeIn 0.4s ease-out forwards;
            opacity: 0;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes slideIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

    /* Referral Form */

        .container {
            display: flex;
            max-width: 80%;
            margin: 2rem auto;
            padding: 2rem;
            border-radius: 1rem;
            background-color: var(--white);
            animation: slideIn 0.6s ease forwards;
            opacity: 0;
        }

        .form-section {
            margin-bottom: 2.5rem;
        }

        .form-section h2 {
            color: var(--primary-color);
            border-bottom: 3px solid var(--secondary-color);
            padding-bottom: 0.75rem;
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            margin-bottom: 1rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
        }

        .form-group label {
            margin-bottom: 0.5rem;
            color: var(--text-color);
            font-weight: 600;
        }

        .form-group input, 
        .form-group select {
            padding: 0.75rem;
            border: 1px solid #ddd;
            border-radius: 6px;
            transition: all 0.3s ease;
        }

        .checkbox-group {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }

        .checkbox-group input {
            margin-right: 0.75rem;
        }

        .checkbox-group label {
            text-align: justify;
        }

        .submit-button {
            background-color: var(--secondary-color);
            color: var(--white);
            border: none;
            padding: 1rem 2rem;
            border-radius: 6px;
            font-size: 1.1rem;
            cursor: pointer;
            transition: background-color 0.3s ease;
            width: 100%;
            margin-top: 1rem;
        }

        .submit-button:hover {
            background-color: #2980b9;
        }

        @media (max-width: 1000px) {
            .form-row {
                grid-template-columns: 1fr;
            }

            .hero-section h1 {
                font-size: 2rem;
            }
        }

        .messages .alert {
            padding: 1rem;
            margin-bottom: 1rem;
            border-radius: 6px;
        }

        .messages .alert-success {
            background-color: #dff0d8;
            color: #3c763d;
            border: 1px solid #d6e9c6;
        }

        .messages .alert-error {
            background-color: #f2dede;
            color: #a94442;
            border: 1px solid #ebccd1;
        }

