body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    }   
    
    .gradient-bg { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
    
    /* Contact Form Styles */
    .contact-container {
        max-width: 800px;
        margin: 0 auto;
        padding: 2rem 1rem;
    }
    
    .contact-form {
        background: white;
        border-radius: 1rem;
        padding: 2rem;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-label {
        display: block;
        font-weight: 600;
        color: #374151;
        margin-bottom: 0.5rem;
        font-size: 0.875rem;
    }
    
    .form-label.required::after {
        content: ' *';
        color: #ef4444;
    }
    
    .form-input {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 2px solid #e5e7eb;
        border-radius: 0.5rem;
        font-size: 1rem;
        transition: all 0.2s;
        background: #f9fafb;
    }
    
    .form-input:focus {
        outline: none;
        border-color: #9333ea;
        background: white;
        box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
    }
    
    .form-input.error {
        border-color: #ef4444;
        background-color: #fef2f2;
    }
    
    .form-input.error:focus {
        border-color: #ef4444;
        box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    }
    
    .form-textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    .form-select {
        appearance: none;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 0.5rem center;
        background-repeat: no-repeat;
        background-size: 1.5em 1.5em;
        padding-right: 2.5rem;
    }
    
    .checkbox-group {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .checkbox-input {
        width: auto;
        margin: 0;
        flex-shrink: 0;
        margin-top: 0.125rem;
    }
    
    .checkbox-label {
        font-weight: normal;
        margin: 0;
        line-height: 1.5;
        font-size: 0.875rem;
    }
    
    .checkbox-label a {
        color: #9333ea;
        text-decoration: underline;
    }
    
    .submit-btn {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 0.875rem 2rem;
        border: none;
        border-radius: 0.5rem;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.2s;
        width: 100%;
    }
    
    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    
    .submit-btn:focus {
        outline: 3px solid #fbbf24;
        outline-offset: 2px;
    }
    
    .submit-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }
    
    .form-row {
        display: grid;
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }
    
    @media (min-width: 768px) {
        .form-row {
            grid-template-columns: 1fr 1fr;
        }
        
        .contact-form {
            padding: 3rem;
        }
    }
    
    .error-message {
        color: #ef4444;
        font-size: 0.875rem;
        margin-top: 0.25rem;
        display: block;
    }
    
    .success-message {
        background: #10b981;
        color: white;
        padding: 1rem;
        border-radius: 0.5rem;
        margin-bottom: 2rem;
        text-align: center;
        font-weight: 500;
    }
    
    .nav-spacer {
        height: 5rem;
    }
    
    /* Math Captcha */
    .captcha-group {
        background: #f8fafc;
        border: 2px solid #e5e7eb;
        border-radius: 0.5rem;
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .captcha-question {
        font-weight: 600;
        color: #374151;
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }
    
    .captcha-input {
        width: 80px;
        text-align: center;
        font-size: 1.1rem;
        font-weight: 600;
    }
    /* Honeypot Spam Protection */
    .honeypot {
        position: absolute;
        left: -9999px;
        width: 1px;
        height: 1px;
        overflow: hidden;
    }
    /* Skip link for screen readers */
    .skip-link {
        position: absolute;
        top: -40px;
        left: 6px;
        background: #000;
        color: #fff;
        padding: 8px;
        text-decoration: none;
        z-index: 1000;
    }
    .skip-link:focus {
        top: 6px;
    }